C# Class RioSharp.RioTcpListener

Inheritance: RioConnectionOrientedSocketPool
Afficher le fichier Open project: aL3891/RioSharp Class Usage Examples

Méthodes publiques

Свойство Type Description
OnAccepted Action

Méthodes publiques

Méthode Description
Dispose ( ) : void
Listen ( IPEndPoint localEP, int backlog ) : void
RioTcpListener ( RioFixedBufferPool sendPool, RioFixedBufferPool revicePool, uint socketCount, uint maxOutstandingReceive = 2048, uint maxOutstandingSend = 2048 ) : System

Méthodes protégées

Méthode Description
SocketIocpError ( int error, RioSharp.RioConnectionOrientedSocket socket, byte status ) : bool
SocketIocpOk ( RioSharp.RioConnectionOrientedSocket socket, byte status ) : bool

Private Methods

Méthode Description
AcceptIocpComplete ( object o ) : void
BeginAccept ( RioSharp.RioConnectionOrientedSocket acceptSocket ) : void
FinalizeRecycle ( RioSharp.RioConnectionOrientedSocket socket ) : void
InitializeSocket ( RioSharp.RioConnectionOrientedSocket socket ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Listen() public méthode

public Listen ( IPEndPoint localEP, int backlog ) : void
localEP System.Net.IPEndPoint
backlog int
Résultat void

RioTcpListener() public méthode

public RioTcpListener ( RioFixedBufferPool sendPool, RioFixedBufferPool revicePool, uint socketCount, uint maxOutstandingReceive = 2048, uint maxOutstandingSend = 2048 ) : System
sendPool RioFixedBufferPool
revicePool RioFixedBufferPool
socketCount uint
maxOutstandingReceive uint
maxOutstandingSend uint
Résultat System

SocketIocpError() protected méthode

protected SocketIocpError ( int error, RioSharp.RioConnectionOrientedSocket socket, byte status ) : bool
error int
socket RioSharp.RioConnectionOrientedSocket
status byte
Résultat bool

SocketIocpOk() protected méthode

protected SocketIocpOk ( RioSharp.RioConnectionOrientedSocket socket, byte status ) : bool
socket RioSharp.RioConnectionOrientedSocket
status byte
Résultat bool

Property Details

OnAccepted public_oe property

public Action OnAccepted
Résultat Action