C# Class Granados.X11.AbstractX11Socket

Abstract implementation of the IX11Socket.
Inheritance: IX11Socket
Afficher le fichier Open project: poderosaproject/poderosa

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
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

Method Details

AbstractX11Socket() protected méthode

protected AbstractX11Socket ( ) : System
Résultat System

Close() public méthode

public Close ( ) : void
Résultat void

Connect() public méthode

public Connect ( int display ) : void
display int
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

DoConnect() protected abstract méthode

protected abstract DoConnect ( int display ) : Socket
display int
Résultat Socket

ReceiveBytes() protected méthode

protected ReceiveBytes ( Socket sock, byte buffer, int offset, int length, int timeoutMillisec ) : bool
sock Socket
buffer byte
offset int
length int
timeoutMillisec int
Résultat bool

ReceiveBytes() public méthode

public ReceiveBytes ( byte buffer, int offset, int length, int timeoutMillisec ) : bool
buffer byte
offset int
length int
timeoutMillisec int
Résultat bool

Send() public méthode

public Send ( Granados.IO.DataFragment data, int timeoutMillisec ) : bool
data Granados.IO.DataFragment
timeoutMillisec int
Résultat bool

SendBytes() protected méthode

protected SendBytes ( Socket sock, byte buffer, int offset, int length, int timeoutMillisec ) : bool
sock Socket
buffer byte
offset int
length int
timeoutMillisec int
Résultat bool

StartReceivingThread() public méthode

public StartReceivingThread ( Action onDataCallback, System.Action onClosedCallback ) : void
onDataCallback Action
onClosedCallback System.Action
Résultat void