C# 클래스 Granados.X11.AbstractX11Socket

Abstract implementation of the IX11Socket.
상속: IX11Socket
파일 보기 프로젝트 열기: poderosaproject/poderosa

공개 메소드들

메소드 설명
Close ( ) : void
Connect ( int display ) : void
Dispose ( ) : void
ReceiveBytes ( byte buffer, int offset, int length, int timeoutMillisec ) : bool
Send ( Granados.IO.DataFragment data, int timeoutMillisec ) : bool
StartReceivingThread ( Action onDataCallback, System.Action onClosedCallback ) : void

보호된 메소드들

메소드 설명
AbstractX11Socket ( ) : System
DoConnect ( int display ) : Socket
ReceiveBytes ( Socket sock, byte buffer, int offset, int length, int timeoutMillisec ) : bool
SendBytes ( Socket sock, byte buffer, int offset, int length, int timeoutMillisec ) : bool

메소드 상세

AbstractX11Socket() 보호된 메소드

protected AbstractX11Socket ( ) : System
리턴 System

Close() 공개 메소드

public Close ( ) : void
리턴 void

Connect() 공개 메소드

public Connect ( int display ) : void
display int
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

DoConnect() 보호된 추상적인 메소드

protected abstract DoConnect ( int display ) : Socket
display int
리턴 Socket

ReceiveBytes() 보호된 메소드

protected ReceiveBytes ( Socket sock, byte buffer, int offset, int length, int timeoutMillisec ) : bool
sock Socket
buffer byte
offset int
length int
timeoutMillisec int
리턴 bool

ReceiveBytes() 공개 메소드

public ReceiveBytes ( byte buffer, int offset, int length, int timeoutMillisec ) : bool
buffer byte
offset int
length int
timeoutMillisec int
리턴 bool

Send() 공개 메소드

public Send ( Granados.IO.DataFragment data, int timeoutMillisec ) : bool
data Granados.IO.DataFragment
timeoutMillisec int
리턴 bool

SendBytes() 보호된 메소드

protected SendBytes ( Socket sock, byte buffer, int offset, int length, int timeoutMillisec ) : bool
sock Socket
buffer byte
offset int
length int
timeoutMillisec int
리턴 bool

StartReceivingThread() 공개 메소드

public StartReceivingThread ( Action onDataCallback, System.Action onClosedCallback ) : void
onDataCallback Action
onClosedCallback System.Action
리턴 void