C# Class CSharpRTMP.Core.NetIO.IOHandler

Inheritance: IDisposable
Datei anzeigen Open project: langhuihui/csharprtmp Class Usage Examples

Public Properties

Property Type Description
Id uint
Protocol CSharpRTMP.Core.Protocols.BaseProtocol
Socket Socket
Type IOHandlerType
_idGenerator uint

Public Methods

Method Description
Dispose ( ) : void
GetStats ( Variant variant, uint namespaceId ) : void
OnEvent ( SocketAsyncEventArgs e ) : bool
SignalOutputData ( EndPoint address ) : bool
SignalOutputData ( EndPoint address, MemoryStream outputStream ) : bool
SignalOutputData ( MemoryStream outputStream = null ) : bool

Protected Methods

Method Description
IOHandler ( IOHandlerType type ) : System

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetStats() public abstract method

public abstract GetStats ( Variant variant, uint namespaceId ) : void
variant Variant
namespaceId uint
return void

IOHandler() protected method

protected IOHandler ( IOHandlerType type ) : System
type IOHandlerType
return System

OnEvent() public abstract method

public abstract OnEvent ( SocketAsyncEventArgs e ) : bool
e System.Net.Sockets.SocketAsyncEventArgs
return bool

SignalOutputData() public method

public SignalOutputData ( EndPoint address ) : bool
address System.Net.EndPoint
return bool

SignalOutputData() public method

public SignalOutputData ( EndPoint address, MemoryStream outputStream ) : bool
address System.Net.EndPoint
outputStream System.IO.MemoryStream
return bool

SignalOutputData() public method

public SignalOutputData ( MemoryStream outputStream = null ) : bool
outputStream System.IO.MemoryStream
return bool

Property Details

Id public_oe property

public uint Id
return uint

Protocol public_oe property

public BaseProtocol,CSharpRTMP.Core.Protocols Protocol
return CSharpRTMP.Core.Protocols.BaseProtocol

Socket public_oe property

public Socket Socket
return Socket

Type public_oe property

public IOHandlerType Type
return IOHandlerType

_idGenerator public_oe static_oe property

public static uint _idGenerator
return uint