C# Class CrossroadsIO.Interop.SocketProxy

Inheritance: IDisposable
显示文件 Open project: jgoz/crossroads-net Class Usage Examples

Public Methods

Method Description
Bind ( string endpoint ) : int
Close ( ) : int
Connect ( string endpoint ) : int
Dispose ( ) : void
Forward ( IntPtr destinationHandle ) : int
GetSocketOption ( int option, byte &value ) : int
GetSocketOption ( int option, int &value ) : int
GetSocketOption ( int option, long &value ) : int
GetSocketOption ( int option, ulong &value ) : int
Receive ( byte buffer, int flags, int &size ) : byte[]
Receive ( byte buffer, int flags ) : int
Send ( byte buffer, int size, int flags ) : int
SetSocketOption ( int option, byte value ) : int
SetSocketOption ( int option, int value ) : int
SetSocketOption ( int option, long value ) : int
SetSocketOption ( int option, ulong value ) : int
SocketProxy ( IntPtr socketHandle ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
GetReceiveMore ( int &receiveMore ) : int
RetryIfInterrupted ( Func func ) : int

Method Details

Bind() public method

public Bind ( string endpoint ) : int
endpoint string
return int

Close() public method

public Close ( ) : int
return int

Connect() public method

public Connect ( string endpoint ) : int
endpoint string
return int

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Forward() public method

public Forward ( IntPtr destinationHandle ) : int
destinationHandle System.IntPtr
return int

GetSocketOption() public method

public GetSocketOption ( int option, byte &value ) : int
option int
value byte
return int

GetSocketOption() public method

public GetSocketOption ( int option, int &value ) : int
option int
value int
return int

GetSocketOption() public method

public GetSocketOption ( int option, long &value ) : int
option int
value long
return int

GetSocketOption() public method

public GetSocketOption ( int option, ulong &value ) : int
option int
value ulong
return int

Receive() public method

public Receive ( byte buffer, int flags, int &size ) : byte[]
buffer byte
flags int
size int
return byte[]

Receive() public method

public Receive ( byte buffer, int flags ) : int
buffer byte
flags int
return int

Send() public method

public Send ( byte buffer, int size, int flags ) : int
buffer byte
size int
flags int
return int

SetSocketOption() public method

public SetSocketOption ( int option, byte value ) : int
option int
value byte
return int

SetSocketOption() public method

public SetSocketOption ( int option, int value ) : int
option int
value int
return int

SetSocketOption() public method

public SetSocketOption ( int option, long value ) : int
option int
value long
return int

SetSocketOption() public method

public SetSocketOption ( int option, ulong value ) : int
option int
value ulong
return int

SocketProxy() public method

public SocketProxy ( IntPtr socketHandle ) : System
socketHandle System.IntPtr
return System