C# 클래스 Twingly.Gearman.SocketAdapter

Adapter for System.Net.Sockets.Socket that implements ISocket. Passes all calls to the underlying Socket. AddressFamily.InterNetwork. SocketType.Stream. ProtocolType.Tcp.
상속: ISocket
파일 보기 프로젝트 열기: twingly/GearmanSharp

공개 메소드들

메소드 설명
Close ( ) : void
Connect ( string host, int port ) : void
Receive ( byte buffer, int size, SocketFlags socketFlags ) : int
Receive ( byte buffer, int offset, int size, SocketFlags socketFlags ) : int
Send ( byte buffer ) : int
Shutdown ( ) : void
SocketAdapter ( Socket socket ) : System.Net.Sockets

메소드 상세

Close() 공개 메소드

public Close ( ) : void
리턴 void

Connect() 공개 메소드

public Connect ( string host, int port ) : void
host string
port int
리턴 void

Receive() 공개 메소드

public Receive ( byte buffer, int size, SocketFlags socketFlags ) : int
buffer byte
size int
socketFlags SocketFlags
리턴 int

Receive() 공개 메소드

public Receive ( byte buffer, int offset, int size, SocketFlags socketFlags ) : int
buffer byte
offset int
size int
socketFlags SocketFlags
리턴 int

Send() 공개 메소드

public Send ( byte buffer ) : int
buffer byte
리턴 int

Shutdown() 공개 메소드

public Shutdown ( ) : void
리턴 void

SocketAdapter() 공개 메소드

public SocketAdapter ( Socket socket ) : System.Net.Sockets
socket System.Net.Sockets.Socket
리턴 System.Net.Sockets