C# 클래스 Eryan.IPC.Communicator

Handles the communications between Eryan and the Eve client
파일 보기 프로젝트 열기: emist/Eryan 1 사용 예제들

공개 메소드들

메소드 설명
Communicator ( string name ) : System

Constructs a communicator out of the given pipe-name

connect ( ) : bool

Checks if the pipe is ready, might block

sendCall ( string call, string responsetype ) : Response

Make the call

sendCall ( string call, string param, string responsetype ) : Response

Make a call with one parameter

메소드 상세

Communicator() 공개 메소드

Constructs a communicator out of the given pipe-name
public Communicator ( string name ) : System
name string The pipe to build
리턴 System

connect() 공개 메소드

Checks if the pipe is ready, might block
public connect ( ) : bool
리턴 bool

sendCall() 공개 메소드

Make the call
public sendCall ( string call, string responsetype ) : Response
call string Constant function represenation as given in calls struct.
responsetype string The expected response as defined in Responses.RESPONSETYPE
리턴 Eryan.Responses.Response

sendCall() 공개 메소드

Make a call with one parameter
public sendCall ( string call, string param, string responsetype ) : Response
call string The function name as represented in calls struct
param string The parameter to send
responsetype string The response type expected as defined in Responses.RESPONSETYPE
리턴 Eryan.Responses.Response