C# Class DdpClient.WebSocketSharpAdapter

Inheritance: WebSocketAdapterBase
Exibir arquivo Open project: JohnnyCrazy/DDPClient-NET

Public Methods

Method Description
Close ( ) : void
Connect ( string url ) : void
ConnectAsync ( string url ) : void
IsAlive ( ) : bool

Protected Methods

Method Description
Send ( string message ) : void

Private Methods

Method Description
Initialize ( string url ) : void
WebSocketOnClosed ( object sender, EventArgs e ) : void
WebSocketOnError ( object sender, ErrorEventArgs e ) : void
WebSocketOnMessageReceived ( object sender, MessageEventArgs e ) : void
WebSocketOnOpened ( object sender, EventArgs e ) : void

Method Details

Close() public method

public Close ( ) : void
return void

Connect() public method

public Connect ( string url ) : void
url string
return void

ConnectAsync() public method

public ConnectAsync ( string url ) : void
url string
return void

IsAlive() public method

public IsAlive ( ) : bool
return bool

Send() protected method

protected Send ( string message ) : void
message string
return void