C# Class NetRC.DiffusionRC

显示文件 Open project: pushtechnology/cloud Class Usage Examples

Public Methods

Method Description
DiffusionRC ( string url, string controlTopic, string rootTopic ) : System
addSimpleTopic ( string myTopic ) : void
awaitRegister ( ) : void
updateSimpleTopic ( string myTopic, string myData ) : void

Private Methods

Method Description
RegisterFailed ( object sender, RemoteServiceRegistrationFailedEventArgs args ) : void
Registered ( object sender, EventArgs args ) : void
TopicAddFailed ( object sender, TopicAddFailedEventArgs arg ) : void
TopicSubscribeFailed ( object sender, TopicSubscribeFailedEventArgs arg ) : void
clientConnected ( object sender, ClientDetailsEventArgs arg0 ) : void
clientDisconnected ( object sender, ClientDisconnectedEventArgs arg0 ) : void
clientSubscribe ( object sender, ClientSubscribeEventArgs arg0 ) : void
closed ( object sender, ServiceClosedEventArgs reason ) : void
messageFromClient ( object sender, ClientMessageEventArgs arg ) : void

Method Details

DiffusionRC() public method

public DiffusionRC ( string url, string controlTopic, string rootTopic ) : System
url string
controlTopic string
rootTopic string
return System

addSimpleTopic() public method

public addSimpleTopic ( string myTopic ) : void
myTopic string
return void

awaitRegister() public method

public awaitRegister ( ) : void
return void

updateSimpleTopic() public method

public updateSimpleTopic ( string myTopic, string myData ) : void
myTopic string
myData string
return void