C# Класс Eryan.IPC.Communicator

Handles the communications between Eryan and the Eve client
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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