C# Class RioSharp.RioConnectionOrientedSocketPool

Inheritance: RioSocketPool
ファイルを表示 Open project: aL3891/RioSharp Class Usage Examples

Protected Properties

Property Type Description
socketIocp System.IntPtr

Public Methods

Method Description
Dispose ( ) : void
RioConnectionOrientedSocketPool ( RioFixedBufferPool sendPool, RioFixedBufferPool revicePool, uint socketCount, ADDRESS_FAMILIES adressFam, SOCKET_TYPE sockType, PROTOCOL protocol, uint maxOutstandingReceive = 1024, uint maxOutstandingSend = 1024 ) : System

Protected Methods

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

Private Methods

Method Description
BeginRecycle ( RioSharp.RioConnectionOrientedSocket socket, bool force ) : void
EndRecycle ( RioSharp.RioConnectionOrientedSocket socket, bool async ) : void
FinalizeRecycle ( RioSharp.RioConnectionOrientedSocket socket ) : void
InitializeSocket ( RioSharp.RioConnectionOrientedSocket socket ) : void
Timeout ( ) : Task

Method Details

Dispose() public method

public Dispose ( ) : void
return void

RioConnectionOrientedSocketPool() public method

public RioConnectionOrientedSocketPool ( RioFixedBufferPool sendPool, RioFixedBufferPool revicePool, uint socketCount, ADDRESS_FAMILIES adressFam, SOCKET_TYPE sockType, PROTOCOL protocol, uint maxOutstandingReceive = 1024, uint maxOutstandingSend = 1024 ) : System
sendPool RioFixedBufferPool
revicePool RioFixedBufferPool
socketCount uint
adressFam ADDRESS_FAMILIES
sockType SOCKET_TYPE
protocol PROTOCOL
maxOutstandingReceive uint
maxOutstandingSend uint
return System

SocketIocpComplete() protected method

protected SocketIocpComplete ( object o ) : void
o object
return void

SocketIocpError() protected abstract method

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

SocketIocpOk() protected abstract method

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

Property Details

socketIocp protected_oe property

protected IntPtr,System socketIocp
return System.IntPtr