C# Class PubNubMessaging.Core.PubnubExample

Mostra file Open project: pubnub/c-sharp

Public Properties

Property Type Description
authKey string
channel string
deliveryStatus bool
presenceHeartbeat int
presenceHeartbeatInterval int
pubnub Pubnub
showDebugMessages bool
showErrorMessageSegments bool

Public Methods

Method Description
Main ( ) : void

Private Methods

Method Description
DisplayErrorMessage ( PubnubClientError result ) : void

Callback method for error messages

DisplayErrorMessageSegments ( PubnubClientError pubnubError ) : void
DisplayPresenceConnectStatusMessage ( string result ) : void

Callback method to provide the connect status of Presence call

DisplayPresenceDisconnectStatusMessage ( string result ) : void
DisplayPresenceReturnMessage ( string result ) : void

Callback method captures the response in JSON string format for Presence

DisplayReturnMessage ( string result ) : void

Callback method captures the response in JSON string format for all operations

DisplaySubscribeConnectStatusMessage ( string result ) : void

Callback method to provide the connect status of Subscribe call

DisplaySubscribeDisconnectStatusMessage ( string result ) : void
DisplaySubscribeReturnMessage ( string result ) : void

Callback method captures the response in JSON string format for Subscribe

DisplayWildCardPresenceReturnMessage ( string result ) : void

Callback method captures wildcard presence events for Subscribe

UnhandledExceptionTrapper ( object sender, UnhandledExceptionEventArgs e ) : void

Method Details

Main() static public method

static public Main ( ) : void
return void

Property Details

authKey static_oe public_oe property

static public string authKey
return string

channel static_oe public_oe property

static public string channel
return string

deliveryStatus static_oe public_oe property

static public bool deliveryStatus
return bool

presenceHeartbeat static_oe public_oe property

static public int presenceHeartbeat
return int

presenceHeartbeatInterval static_oe public_oe property

static public int presenceHeartbeatInterval
return int

pubnub static_oe public_oe property

static public Pubnub pubnub
return Pubnub

showDebugMessages static_oe public_oe property

static public bool showDebugMessages
return bool

showErrorMessageSegments static_oe public_oe property

static public bool showErrorMessageSegments
return bool