C# Class CSharpRTMP.Core.NetIO.TCPAcceptor

Inheritance: IOHandler
Show file Open project: langhuihui/csharprtmp Class Usage Examples

Public Properties

Property Type Description
Parameters Variant

Public Methods

Method Description
Accept ( SocketAsyncEventArgs socketAsyncEvent ) : bool
Bind ( ) : bool
GetStats ( Variant info, uint namespaceId ) : void
IsAlive ( ) : bool
OnConnectionAvailable ( SocketAsyncEventArgs socketAsyncEvent ) : bool
OnEvent ( SocketAsyncEventArgs socketAsyncEvent ) : bool
StartAccept ( ) : bool
TCPAcceptor ( string ipAddress, ushort port, Variant parameters, List protocolChain ) : System

Method Details

Accept() public method

public Accept ( SocketAsyncEventArgs socketAsyncEvent ) : bool
socketAsyncEvent System.Net.Sockets.SocketAsyncEventArgs
return bool

Bind() public method

public Bind ( ) : bool
return bool

GetStats() public method

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

IsAlive() public method

public IsAlive ( ) : bool
return bool

OnConnectionAvailable() public method

public OnConnectionAvailable ( SocketAsyncEventArgs socketAsyncEvent ) : bool
socketAsyncEvent System.Net.Sockets.SocketAsyncEventArgs
return bool

OnEvent() public method

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

StartAccept() public method

public StartAccept ( ) : bool
return bool

TCPAcceptor() public method

public TCPAcceptor ( string ipAddress, ushort port, Variant parameters, List protocolChain ) : System
ipAddress string
port ushort
parameters Variant
protocolChain List
return System

Property Details

Parameters public property

public Variant Parameters
return Variant