C# Class Net.DDP.Client.DDPConnector

ファイルを表示 Open project: sonyarouje/DDPClient.NET Class Usage Examples

Public Methods

Method Description
Close ( ) : void
Connect ( string url, bool keepAlive = true, bool useSsl = false ) : void
DDPConnector ( IClient client ) : System
Send ( string message ) : void

Private Methods

Method Description
_handle_Ping ( string message ) : bool
_socket_MessageReceived ( object sender, WebSocket4Net.MessageReceivedEventArgs e ) : void
_socket_Opened ( object sender, EventArgs e ) : void
_wait ( ) : void

Method Details

Close() public method

public Close ( ) : void
return void

Connect() public method

public Connect ( string url, bool keepAlive = true, bool useSsl = false ) : void
url string
keepAlive bool
useSsl bool
return void

DDPConnector() public method

public DDPConnector ( IClient client ) : System
client IClient
return System

Send() public method

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