C# 클래스 Helios.RawSocket.SocketClient

파일 보기 프로젝트 열기: helios-io/helios

공개 프로퍼티들

프로퍼티 타입 설명
Connection IConnection
RemoteHost INode

공개 메소드들

메소드 설명
AttemptConnect ( string host, string portStr ) : bool
SocketClient ( ) : System

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
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

메소드 상세

AttemptConnect() 공개 메소드

public AttemptConnect ( string host, string portStr ) : bool
host string
portStr string
리턴 bool

Dispose() 보호된 메소드

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

SocketClient() 공개 메소드

public SocketClient ( ) : System
리턴 System

프로퍼티 상세

Connection 공개적으로 프로퍼티

public IConnection Connection
리턴 IConnection

RemoteHost 공개적으로 프로퍼티

public INode RemoteHost
리턴 INode