C# Class PusherAPI, uni-pusher

Inheritance: MonoBehaviour
显示文件 Open project: DifferentMethods/uni-pusher

Public Properties

Property Type Description
connectedToPusher bool
pusherKey string
url string

Public Methods

Method Description
HandleTextMessage ( string message ) : void
Send ( object msg ) : void
Send ( string channel, string eventName, Hashtable data ) : void
Subscribe ( string channel, System handler ) : void
UnSubscribe ( string channel ) : void

Private Methods

Method Description
AuthenticationString ( string channel ) : string
CreateEvent ( string name, Hashtable properties = null ) : Hashtable
PropertyList ( ) : Hashtable
Start ( ) : IEnumerator

Method Details

HandleTextMessage() public method

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

Send() public method

public Send ( object msg ) : void
msg object
return void

Send() public method

public Send ( string channel, string eventName, Hashtable data ) : void
channel string
eventName string
data Hashtable
return void

Subscribe() public method

public Subscribe ( string channel, System handler ) : void
channel string
handler System
return void

UnSubscribe() public method

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

Property Details

connectedToPusher public_oe property

public bool connectedToPusher
return bool

pusherKey public_oe property

public string pusherKey
return string

url public_oe property

public string url
return string