C# Class Helios.RawSocket.SocketClient

Afficher le fichier Open project: helios-io/helios

Méthodes publiques

Свойство Type Description
Connection IConnection
RemoteHost INode

Méthodes publiques

Méthode Description
AttemptConnect ( string host, string portStr ) : bool
SocketClient ( ) : System

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
AppendStatusText ( string text ) : void
ConnectionEstablishedCallback ( INode remoteAddress, IConnection responseChannel ) : void
ConnectionTerminatedCallback ( HeliosConnectionException reason, IConnection closedChannel ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

ReceivedDataCallback ( NetworkData incomingData, IConnection responseChannel ) : void
btnConnect_Click ( object sender, EventArgs e ) : void
btnDisconnect_Click ( object sender, EventArgs e ) : void
btnSend_Click ( object sender, EventArgs e ) : void

Method Details

AttemptConnect() public méthode

public AttemptConnect ( string host, string portStr ) : bool
host string
portStr string
Résultat bool

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

SocketClient() public méthode

public SocketClient ( ) : System
Résultat System

Property Details

Connection public_oe property

public IConnection Connection
Résultat IConnection

RemoteHost public_oe property

public INode RemoteHost
Résultat INode