C# Class Zazzles.BusComponents.BusClient

Afficher le fichier Open project: FOGProject/zazzles Class Usage Examples

Méthodes publiques

Méthode Description
BusClient ( int port ) : System
Send ( string message ) : void

Send a message to the bus server

Start ( ) : bool
Stop ( ) : bool

Private Methods

Méthode 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 méthode

public BusClient ( int port ) : System
port int
Résultat System

Send() public méthode

Send a message to the bus server
public Send ( string message ) : void
message string The message to emit
Résultat void

Start() public méthode

public Start ( ) : bool
Résultat bool

Stop() public méthode

public Stop ( ) : bool
Résultat bool