C# Class IMB3.TConnectionPlatform

Afficher le fichier Open project: TNOCS/csTouch Class Usage Examples

Méthodes publiques

Свойство Type Description
FClient System.Net.Sockets.TcpClient
MagicBytes byte[]

Protected Properties

Свойство Type Description
MagicBytesInt64 Int64

Méthodes publiques

Méthode Description
ReadCommandsNonBlocking ( ) : void
ReadCommandsNonThreaded ( int aTimeOut ) : void

Méthodes protégées

Méthode Description
CloseLow ( ) : void
HandleCommand ( TCommands aCommand, TByteBuffer aPayload ) : void
OpenLow ( string aRemoteHost, int aRemotePort, int timeout ) : void
ReadBytesFromNetStream ( TByteBuffer aBuffer ) : int
WriteCommandLow ( byte aData, int aNumberOfBytes ) : void

Private Methods

Méthode Description
ReadCommand ( TCommands &aCommand, byte aFixedCommandPart, TByteBuffer aPayload, byte aPayloadCheck ) : bool
ReadCommands ( ) : void
getConnectionHashCode ( byte aNameUTF8 ) : Int32

Method Details

CloseLow() protected méthode

protected CloseLow ( ) : void
Résultat void

HandleCommand() protected méthode

protected HandleCommand ( TCommands aCommand, TByteBuffer aPayload ) : void
aCommand TCommands
aPayload IMB3.ByteBuffers.TByteBuffer
Résultat void

OpenLow() protected méthode

protected OpenLow ( string aRemoteHost, int aRemotePort, int timeout ) : void
aRemoteHost string
aRemotePort int
timeout int
Résultat void

ReadBytesFromNetStream() protected méthode

protected ReadBytesFromNetStream ( TByteBuffer aBuffer ) : int
aBuffer TByteBuffer
Résultat int

ReadCommandsNonBlocking() public méthode

public ReadCommandsNonBlocking ( ) : void
Résultat void

ReadCommandsNonThreaded() public méthode

public ReadCommandsNonThreaded ( int aTimeOut ) : void
aTimeOut int
Résultat void

WriteCommandLow() protected méthode

protected WriteCommandLow ( byte aData, int aNumberOfBytes ) : void
aData byte
aNumberOfBytes int
Résultat void

Property Details

FClient public_oe property

public TcpClient,System.Net.Sockets FClient
Résultat System.Net.Sockets.TcpClient

MagicBytes public_oe static_oe property

public static byte[] MagicBytes
Résultat byte[]

MagicBytesInt64 protected_oe property

protected Int64 MagicBytesInt64
Résultat Int64