C# Class Schumix.Framework.Network.ClientSocket

Listener used inside the Alaris bot to get and handle ACS responses.
Inheritance: IDisposable
ファイルを表示 Open project: Schumix/Schumix2 Class Usage Examples

Public Methods

Method Description
ClientHandler ( object ob ) : void

Client handler procedure.

ClientSocket ( string host, int port, string password ) : System

Initializes a new instance of the Alaris.Core.ClientListener class.

Dispose ( ) : void
SendPacketToSCS ( SchumixPacket packet ) : void

Sends the packet to SCS.

Socket ( ) : void

Start listening.

Method Details

ClientHandler() public method

Client handler procedure.
public ClientHandler ( object ob ) : void
ob object /// The object passed with ParameterizedThreadStart (a TcpClient) ///
return void

ClientSocket() public method

Initializes a new instance of the Alaris.Core.ClientListener class.
public ClientSocket ( string host, int port, string password ) : System
host string
port int /// Port to listen on. ///
password string
return System

Dispose() public method

public Dispose ( ) : void
return void

SendPacketToSCS() public static method

Sends the packet to SCS.
public static SendPacketToSCS ( SchumixPacket packet ) : void
packet SchumixPacket /// Packet. ///
return void

Socket() public method

Start listening.
public Socket ( ) : void
return void