C# Class AndroidFayeClient.PollingHandler

Inheritance: MessageHandler
Mostrar archivo Open project: Connorcpu/XamarinFayeClient Class Usage Examples

Public Methods

Method Description
ConnectRequest ( ) : void
Disconnect ( ) : void
Dispose ( ) : void
Handshake ( ) : void
NewtonsoftToCodeTitans ( JToken token ) : IJSonWritable
Publish ( string channel, JToken data ) : void
Subscribe ( string channel ) : void
Unsubscribe ( string channel ) : void

Protected Methods

Method Description
Connect ( string uri ) : void
OnConnected ( ) : void
OnHandshakeResponse ( Newtonsoft.Json.Linq.JObject response ) : void

Private Methods

Method Description
ConnectionOnConnected ( object sender, CodeTitans.Bayeux.BayeuxConnectionEventArgs bayeuxConnectionEventArgs ) : void
ConnectionOnConnectionFailed ( object sender, CodeTitans.Bayeux.BayeuxConnectionEventArgs bayeuxConnectionEventArgs ) : void
ConnectionOnDisconnected ( object sender, CodeTitans.Bayeux.BayeuxConnectionEventArgs bayeuxConnectionEventArgs ) : void
ConnectionOnResponseReceived ( object sender, CodeTitans.Bayeux.BayeuxConnectionEventArgs bayeuxConnectionEventArgs ) : void

Method Details

Connect() protected method

protected Connect ( string uri ) : void
uri string
return void

ConnectRequest() public method

public ConnectRequest ( ) : void
return void

Disconnect() public method

public Disconnect ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Handshake() public method

public Handshake ( ) : void
return void

NewtonsoftToCodeTitans() public method

public NewtonsoftToCodeTitans ( JToken token ) : IJSonWritable
token JToken
return IJSonWritable

OnConnected() protected method

protected OnConnected ( ) : void
return void

OnHandshakeResponse() protected method

protected OnHandshakeResponse ( Newtonsoft.Json.Linq.JObject response ) : void
response Newtonsoft.Json.Linq.JObject
return void

Publish() public method

public Publish ( string channel, JToken data ) : void
channel string
data JToken
return void

Subscribe() public method

public Subscribe ( string channel ) : void
channel string
return void

Unsubscribe() public method

public Unsubscribe ( string channel ) : void
channel string
return void