C# 클래스 CatEye.UI.Gtk.RemoteControlService

파일 보기 프로젝트 열기: bigfatbrowncat/CatEye 1 사용 예제들

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
OnRemoteCommandReceived ( string command, string args ) : void

비공개 메소드들

메소드 설명
EncodeAndSendString ( NetworkStream stream, string str ) : void
StartServer ( ) : void
TryConnectClient ( ) : TcpClient

메소드 상세

OnRemoteCommandReceived() 보호된 메소드

protected OnRemoteCommandReceived ( string command, string args ) : void
command string
args string
리턴 void

PackCommand() 공개 정적인 메소드

public static PackCommand ( string command, string args ) : string
command string
args string
리턴 string

RemoteControlService() 공개 메소드

public RemoteControlService ( ) : System
리턴 System

RemoteControlService() 공개 메소드

public RemoteControlService ( string address, int port ) : System
address string
port int
리턴 System

SendCommand() 공개 메소드

public SendCommand ( string packed_command ) : bool
packed_command string
리턴 bool

SendCommands() 공개 메소드

public SendCommands ( string packed_commands ) : bool
packed_commands string
리턴 bool

Start() 공개 메소드

Starts server if it's not started in other process.
public Start ( ) : bool
리턴 bool

Stop() 공개 메소드

public Stop ( ) : void
리턴 void