C# 클래스 Gwupe.Cloud.Communication.ConnectionMaintainer

파일 보기 프로젝트 열기: gwupe/Gwupe 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ConnectionCloseEvent System.Threading.AutoResetEvent
ConnectionOpenEvent System.Threading.AutoResetEvent
WakeupManager System.Threading.AutoResetEvent

Private Properties

프로퍼티 타입 설명
CloseConnection void
IsConnected bool

공개 메소드들

메소드 설명
Connect ( Uri uri ) : void
ConnectionMaintainer ( String version, List destinations, List ports, X509Certificate2 cert ) : System
Disconnect ( ) : void
IsConnectionEstablished ( ) : bool
ManualBreak ( string reason ) : void
Ping ( ) : bool
Run ( ) : void

보호된 메소드들

메소드 설명
OnConnect ( EventArgs e ) : void
OnDisconnect ( EventArgs e ) : void

비공개 메소드들

메소드 설명
CloseConnection ( int code, String reason ) : void
IsConnected ( ) : bool

메소드 상세

Connect() 공개 메소드

public Connect ( Uri uri ) : void
uri System.Uri
리턴 void

ConnectionMaintainer() 공개 메소드

public ConnectionMaintainer ( String version, List destinations, List ports, X509Certificate2 cert ) : System
version String
destinations List
ports List
cert System.Security.Cryptography.X509Certificates.X509Certificate2
리턴 System

Disconnect() 공개 메소드

public Disconnect ( ) : void
리턴 void

IsConnectionEstablished() 공개 메소드

public IsConnectionEstablished ( ) : bool
리턴 bool

ManualBreak() 공개 메소드

public ManualBreak ( string reason ) : void
reason string
리턴 void

OnConnect() 보호된 메소드

protected OnConnect ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnDisconnect() 보호된 메소드

protected OnDisconnect ( EventArgs e ) : void
e System.EventArgs
리턴 void

Ping() 공개 메소드

public Ping ( ) : bool
리턴 bool

Run() 공개 메소드

public Run ( ) : void
리턴 void

프로퍼티 상세

ConnectionCloseEvent 공개적으로 프로퍼티

public AutoResetEvent,System.Threading ConnectionCloseEvent
리턴 System.Threading.AutoResetEvent

ConnectionOpenEvent 공개적으로 프로퍼티

public AutoResetEvent,System.Threading ConnectionOpenEvent
리턴 System.Threading.AutoResetEvent

WakeupManager 공개적으로 프로퍼티

public AutoResetEvent,System.Threading WakeupManager
리턴 System.Threading.AutoResetEvent