C# Class SimpleTCP.SimpleTcpClient

Inheritance: IDisposable
Afficher le fichier Open project: BrandonPotter/SimpleTCP Class Usage Examples

Private Properties

Свойство Type Description
ListenerLoop void
NotifyDelimiterMessageRx void
NotifyEndTransmissionRx void
RunLoopStep void
StartRxThread void

Méthodes publiques

Méthode Description
Connect ( string hostNameOrIpAddress, int port ) : SimpleTcpClient
Disconnect ( ) : SimpleTcpClient
Dispose ( ) : void
SimpleTcpClient ( ) : System
Write ( byte data ) : void
Write ( string data ) : void
WriteLine ( string data ) : void
WriteLineAndGetReply ( string data, System.TimeSpan timeout ) : Message

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
ListenerLoop ( object state ) : void
NotifyDelimiterMessageRx ( TcpClient client, byte msg ) : void
NotifyEndTransmissionRx ( TcpClient client, byte msg ) : void
RunLoopStep ( ) : void
StartRxThread ( ) : void

Method Details

Connect() public méthode

public Connect ( string hostNameOrIpAddress, int port ) : SimpleTcpClient
hostNameOrIpAddress string
port int
Résultat SimpleTcpClient

Disconnect() public méthode

public Disconnect ( ) : SimpleTcpClient
Résultat SimpleTcpClient

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

SimpleTcpClient() public méthode

public SimpleTcpClient ( ) : System
Résultat System

Write() public méthode

public Write ( byte data ) : void
data byte
Résultat void

Write() public méthode

public Write ( string data ) : void
data string
Résultat void

WriteLine() public méthode

public WriteLine ( string data ) : void
data string
Résultat void

WriteLineAndGetReply() public méthode

public WriteLineAndGetReply ( string data, System.TimeSpan timeout ) : Message
data string
timeout System.TimeSpan
Résultat Message