C# Class RioSharp.RioTcpClientPool

Inheritance: RioConnectionOrientedSocketPool
Mostrar archivo Open project: aL3891/RioSharp Class Usage Examples

Public Methods

Method Description
Connect ( Uri adress ) : Task
RioTcpClientPool ( RioFixedBufferPool sendPool, RioFixedBufferPool revicePool, uint socketCount, uint maxOutstandingReceive = 1024, uint maxOutstandingSend = 1024 ) : System

Protected Methods

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

Private Methods

Method Description
FinalizeRecycle ( RioSharp.RioConnectionOrientedSocket socket ) : void
InitializeSocket ( RioSharp.RioConnectionOrientedSocket socket ) : void

Method Details

Connect() public method

public Connect ( Uri adress ) : Task
adress System.Uri
return Task

RioTcpClientPool() public method

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
return System

SocketIocpError() protected method

protected SocketIocpError ( int error, RioSharp.RioConnectionOrientedSocket socket, byte status ) : bool
error int
socket RioSharp.RioConnectionOrientedSocket
status byte
return bool

SocketIocpOk() protected method

protected SocketIocpOk ( RioSharp.RioConnectionOrientedSocket socket, byte status ) : bool
socket RioSharp.RioConnectionOrientedSocket
status byte
return bool