C# Class CatEye.UI.Gtk.RemoteControlService

Afficher le fichier Open project: bigfatbrowncat/CatEye Class Usage Examples

Méthodes publiques

Méthode Description
PackCommand ( string command, string args ) : string
RemoteControlService ( ) : System
RemoteControlService ( string address, int port ) : System
SendCommand ( string packed_command ) : bool
SendCommands ( string packed_commands ) : bool
Start ( ) : bool

Starts server if it's not started in other process.

Stop ( ) : void

Méthodes protégées

Méthode Description
OnRemoteCommandReceived ( string command, string args ) : void

Private Methods

Méthode Description
EncodeAndSendString ( NetworkStream stream, string str ) : void
StartServer ( ) : void
TryConnectClient ( ) : TcpClient

Method Details

OnRemoteCommandReceived() protected méthode

protected OnRemoteCommandReceived ( string command, string args ) : void
command string
args string
Résultat void

PackCommand() public static méthode

public static PackCommand ( string command, string args ) : string
command string
args string
Résultat string

RemoteControlService() public méthode

public RemoteControlService ( ) : System
Résultat System

RemoteControlService() public méthode

public RemoteControlService ( string address, int port ) : System
address string
port int
Résultat System

SendCommand() public méthode

public SendCommand ( string packed_command ) : bool
packed_command string
Résultat bool

SendCommands() public méthode

public SendCommands ( string packed_commands ) : bool
packed_commands string
Résultat bool

Start() public méthode

Starts server if it's not started in other process.
public Start ( ) : bool
Résultat bool

Stop() public méthode

public Stop ( ) : void
Résultat void