C# Class RioSharp.RioTcpClientPool

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

Méthodes publiques

Méthode Description
Connect ( Uri adress ) : Task
RioTcpClientPool ( RioFixedBufferPool sendPool, RioFixedBufferPool revicePool, uint socketCount, uint maxOutstandingReceive = 1024, uint maxOutstandingSend = 1024 ) : 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
FinalizeRecycle ( RioSharp.RioConnectionOrientedSocket socket ) : void
InitializeSocket ( RioSharp.RioConnectionOrientedSocket socket ) : void

Method Details

Connect() public méthode

public Connect ( Uri adress ) : Task
adress System.Uri
Résultat Task

RioTcpClientPool() public méthode

public RioTcpClientPool ( RioFixedBufferPool sendPool, RioFixedBufferPool revicePool, uint socketCount, uint maxOutstandingReceive = 1024, uint maxOutstandingSend = 1024 ) : 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