Property | Type | Description | |
---|---|---|---|
subscriptions | List |
Method | Description | |
---|---|---|
Connect ( ) : void | ||
ConnectRequest ( ) : void | ||
Disconnect ( ) : void | ||
Dispose ( ) : void | ||
Handshake ( ) : void | ||
IsSubscribed ( string channel ) : bool | ||
Publish ( string channel, JToken data ) : void | ||
Publish ( string channel, object data ) : void | ||
Subscribe ( string channel ) : void | ||
Unsubscribe ( string channel ) : void |
Method | Description | |
---|---|---|
Connect ( string uri ) : void | ||
OnConnectResponse ( Newtonsoft.Json.Linq.JObject response ) : void | ||
OnConnectTimeout ( ) : void | ||
OnConnected ( ) : void | ||
OnDisconnected ( ) : void | ||
OnError ( Newtonsoft.Json.Linq.JObject errorData, ErrorLevel level ) : void | ||
OnHandshakeResponse ( Newtonsoft.Json.Linq.JObject response ) : void | ||
OnMessageRecieved ( Newtonsoft.Json.Linq.JObject response ) : void | ||
OnPublishResponse ( Newtonsoft.Json.Linq.JObject response ) : void | ||
OnSubscribeResponse ( Newtonsoft.Json.Linq.JObject response ) : void | ||
OnUnsubscribeResponse ( Newtonsoft.Json.Linq.JObject response ) : void | ||
ProcessMessage ( Newtonsoft.Json.Linq.JObject data ) : void |
Method | Description | |
---|---|---|
SubscriptionMatches ( string match, string sub ) : bool |
protected abstract Connect ( string uri ) : void | ||
uri | string | |
return | void |
public IsSubscribed ( string channel ) : bool | ||
channel | string | |
return | bool |
protected OnConnectResponse ( Newtonsoft.Json.Linq.JObject response ) : void | ||
response | Newtonsoft.Json.Linq.JObject | |
return | void |
protected OnError ( Newtonsoft.Json.Linq.JObject errorData, ErrorLevel level ) : void | ||
errorData | Newtonsoft.Json.Linq.JObject | |
level | ErrorLevel | |
return | void |
protected OnHandshakeResponse ( Newtonsoft.Json.Linq.JObject response ) : void | ||
response | Newtonsoft.Json.Linq.JObject | |
return | void |
protected OnMessageRecieved ( Newtonsoft.Json.Linq.JObject response ) : void | ||
response | Newtonsoft.Json.Linq.JObject | |
return | void |
protected OnPublishResponse ( Newtonsoft.Json.Linq.JObject response ) : void | ||
response | Newtonsoft.Json.Linq.JObject | |
return | void |
protected OnSubscribeResponse ( Newtonsoft.Json.Linq.JObject response ) : void | ||
response | Newtonsoft.Json.Linq.JObject | |
return | void |
protected OnUnsubscribeResponse ( Newtonsoft.Json.Linq.JObject response ) : void | ||
response | Newtonsoft.Json.Linq.JObject | |
return | void |
protected ProcessMessage ( Newtonsoft.Json.Linq.JObject data ) : void | ||
data | Newtonsoft.Json.Linq.JObject | |
return | void |
public abstract Publish ( string channel, JToken data ) : void | ||
channel | string | |
data | JToken | |
return | void |
public Publish ( string channel, object data ) : void | ||
channel | string | |
data | object | |
return | void |
public abstract Subscribe ( string channel ) : void | ||
channel | string | |
return | void |
public abstract Unsubscribe ( string channel ) : void | ||
channel | string | |
return | void |