C# Class SignalTasks.WebSocketConnection

Mostrar archivo Open project: smndtrl/Signal-UWP

Public Methods

Method Description
Connect ( ) : IAsyncAction
WebSocketConnection ( String httpUri, string username, string password, string userAgent ) : Google.ProtocolBuffers
disconnect ( ) : void

Private Methods

Method Description
OnClosed ( IWebSocket sender, WebSocketClosedEventArgs args ) : void
OnConnected ( object args ) : void
OnDisconncted ( object args ) : void
OnMessageReceived ( MessageWebSocket sender, MessageWebSocketMessageReceivedEventArgs args ) : void
OnMessageReceived ( object args ) : void
iconnect ( ) : void

Method Details

Connect() public method

public Connect ( ) : IAsyncAction
return IAsyncAction

WebSocketConnection() public method

public WebSocketConnection ( String httpUri, string username, string password, string userAgent ) : Google.ProtocolBuffers
httpUri String
username string
password string
userAgent string
return Google.ProtocolBuffers

disconnect() public method

public disconnect ( ) : void
return void