C# Class CSharpRTMP.Core.Protocols.BaseProtocol

Inheritance: IDisposable
ファイルを表示 Open project: langhuihui/csharprtmp Class Usage Examples

Public Properties

Property Type Description
CreationTimestamp System.DateTime
CustomParameters Variant
Id uint
Type ulong
_idGenerator uint

Protected Properties

Property Type Description
_application BaseClientApplication
_enqueueForDelete bool
_farProtocol BaseProtocol
_gracefullyEnqueueForDelete bool
_nearProtocol BaseProtocol

Public Methods

Method Description
AllowFarProtocol ( ulong type ) : bool
AllowNearProtocol ( ulong type ) : bool
Dispose ( ) : void
EnqueueForDelete ( ) : void
EnqueueForOutbound ( MemoryStream outputStream, int offset ) : bool
GetDecodedBytesCount ( ) : ulong
GetStackStats ( Variant info, uint namespaceId ) : Variant
GetStats ( Variant info, uint namespaceId ) : void
GracefullyEnqueueForDelete ( bool fromFarSide = true ) : void
Initialize ( Variant parameters ) : bool
ReadyForSend ( ) : void
ResetFarProtocol ( ) : void
SignalInputData ( InputStream inputStream, IPEndPoint address ) : bool
SignalInputData ( int recAmount ) : bool
TimePeriodElapsed ( ) : bool

Protected Methods

Method Description
BaseProtocol ( ) : System

Method Details

AllowFarProtocol() public method

public AllowFarProtocol ( ulong type ) : bool
type ulong
return bool

AllowNearProtocol() public method

public AllowNearProtocol ( ulong type ) : bool
type ulong
return bool

BaseProtocol() protected method

protected BaseProtocol ( ) : System
return System

Dispose() public method

public Dispose ( ) : void
return void

EnqueueForDelete() public method

public EnqueueForDelete ( ) : void
return void

EnqueueForOutbound() public method

public EnqueueForOutbound ( MemoryStream outputStream, int offset ) : bool
outputStream System.IO.MemoryStream
offset int
return bool

GetDecodedBytesCount() public method

public GetDecodedBytesCount ( ) : ulong
return ulong

GetStackStats() public method

public GetStackStats ( Variant info, uint namespaceId ) : Variant
info Variant
namespaceId uint
return Variant

GetStats() public method

public GetStats ( Variant info, uint namespaceId ) : void
info Variant
namespaceId uint
return void

GracefullyEnqueueForDelete() public method

public GracefullyEnqueueForDelete ( bool fromFarSide = true ) : void
fromFarSide bool
return void

Initialize() public method

public Initialize ( Variant parameters ) : bool
parameters Variant
return bool

ReadyForSend() public method

public ReadyForSend ( ) : void
return void

ResetFarProtocol() public method

public ResetFarProtocol ( ) : void
return void

SignalInputData() public method

public SignalInputData ( InputStream inputStream, IPEndPoint address ) : bool
inputStream CSharpRTMP.Common.InputStream
address System.Net.IPEndPoint
return bool

SignalInputData() public method

public SignalInputData ( int recAmount ) : bool
recAmount int
return bool

TimePeriodElapsed() public method

public TimePeriodElapsed ( ) : bool
return bool

Property Details

CreationTimestamp public_oe property

public DateTime,System CreationTimestamp
return System.DateTime

CustomParameters public_oe property

public Variant CustomParameters
return Variant

Id public_oe property

public uint Id
return uint

Type public_oe property

public ulong Type
return ulong

_application protected_oe property

protected BaseClientApplication _application
return BaseClientApplication

_enqueueForDelete protected_oe property

protected bool _enqueueForDelete
return bool

_farProtocol protected_oe property

protected BaseProtocol,CSharpRTMP.Core.Protocols _farProtocol
return BaseProtocol

_gracefullyEnqueueForDelete protected_oe property

protected bool _gracefullyEnqueueForDelete
return bool

_idGenerator public_oe static_oe property

public static uint _idGenerator
return uint

_nearProtocol protected_oe property

protected BaseProtocol,CSharpRTMP.Core.Protocols _nearProtocol
return BaseProtocol