C# Class Zazzles.BusComponents.BusClient

Datei anzeigen Open project: FOGProject/zazzles Class Usage Examples

Public Methods

Method Description
BusClient ( int port ) : System
Send ( string message ) : void

Send a message to the bus server

Start ( ) : bool
Stop ( ) : bool

Private Methods

Method Description
IsRetrying ( ) : bool
RetrySocketConnection ( ) : void
SocketOnClosed ( object sender, EventArgs eventArgs ) : void
SocketOnError ( object sender, SuperSocket.ClientEngine.ErrorEventArgs errorEventArgs ) : void
SocketOnOpened ( object sender, EventArgs eventArgs ) : void

Method Details

BusClient() public method

public BusClient ( int port ) : System
port int
return System

Send() public method

Send a message to the bus server
public Send ( string message ) : void
message string The message to emit
return void

Start() public method

public Start ( ) : bool
return bool

Stop() public method

public Stop ( ) : bool
return bool