C# Class ArtemisComm.Connector

Inheritance: IDisposable
Afficher le fichier Open project: russjudge/ArtemisSBS-ProtocolSharp Class Usage Examples

Méthodes publiques

Свойство Type Description
ServerStream System.Net.Sockets.NetworkStream
StandardID int

Private Properties

Свойство Type Description
BytesToQueueProcessor void
Dispose void
RaiseBytesReceived void
RaiseExceptionEncountered void
SendProcessor void

Méthodes publiques

Méthode Description
ClearSendQueue ( ) : void
Connector ( int port ) : System
Dispose ( ) : void
Send ( MemoryStream stream ) : void
Start ( TcpClient client ) : void

Starts the specified client.

Stop ( ) : void

Stops the connection

Private Methods

Méthode Description
BytesToQueueProcessor ( ) : void

Processes Byte from the TCP/IP stream to queue processor.

Dispose ( bool Disposing ) : void
RaiseBytesReceived ( Stream buffer ) : void
RaiseExceptionEncountered ( Exception ex ) : void
SendProcessor ( ) : void

Method Details

ClearSendQueue() public méthode

public ClearSendQueue ( ) : void
Résultat void

Connector() public méthode

public Connector ( int port ) : System
port int
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Send() public méthode

public Send ( MemoryStream stream ) : void
stream System.IO.MemoryStream
Résultat void

Start() public méthode

Starts the specified client.
public Start ( TcpClient client ) : void
client System.Net.Sockets.TcpClient The client.
Résultat void

Stop() public méthode

Stops the connection
public Stop ( ) : void
Résultat void

Property Details

ServerStream public_oe property

public NetworkStream,System.Net.Sockets ServerStream
Résultat System.Net.Sockets.NetworkStream

StandardID public_oe static_oe property

public static int StandardID
Résultat int