C# Class RioSharp.RioSocketPool

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

Protected Properties

Property Type Description
MaxOutstandingReceive uint
SendCompletionQueue System.IntPtr
adressFam ADDRESS_FAMILIES
protocol PROTOCOL
sockType SOCKET_TYPE

Public Methods

Method Description
Dispose ( ) : void
PreAllocateWrite ( byte buffer ) : RioBufferSegment
RioSocketPool ( RioFixedBufferPool sendPool, RioFixedBufferPool receivePool, ADDRESS_FAMILIES adressFam, SOCKET_TYPE sockType, PROTOCOL protocol, uint maxOutstandingReceive = 1024, uint maxOutstandingSend = 1024, uint maxSockets = 256, int adressBufferSize = 1024 ) : System

Private Methods

Method Description
ProcessReceiveCompletes ( object o ) : void
ProcessSendCompletes ( object o ) : void
RioSocketPool ( ) : System

Method Details

Dispose() public method

public Dispose ( ) : void
return void

PreAllocateWrite() public method

public PreAllocateWrite ( byte buffer ) : RioBufferSegment
buffer byte
return RioBufferSegment

RioSocketPool() public method

public RioSocketPool ( RioFixedBufferPool sendPool, RioFixedBufferPool receivePool, ADDRESS_FAMILIES adressFam, SOCKET_TYPE sockType, PROTOCOL protocol, uint maxOutstandingReceive = 1024, uint maxOutstandingSend = 1024, uint maxSockets = 256, int adressBufferSize = 1024 ) : System
sendPool RioFixedBufferPool
receivePool RioFixedBufferPool
adressFam ADDRESS_FAMILIES
sockType SOCKET_TYPE
protocol PROTOCOL
maxOutstandingReceive uint
maxOutstandingSend uint
maxSockets uint
adressBufferSize int
return System

Property Details

MaxOutstandingReceive protected_oe property

protected uint MaxOutstandingReceive
return uint

SendCompletionQueue protected_oe property

protected IntPtr,System SendCompletionQueue
return System.IntPtr

adressFam protected_oe property

protected ADDRESS_FAMILIES adressFam
return ADDRESS_FAMILIES

protocol protected_oe property

protected PROTOCOL protocol
return PROTOCOL

sockType protected_oe property

protected SOCKET_TYPE sockType
return SOCKET_TYPE