AnyCAD Rapid API 2024
Help you to create a better world!
载入中...
搜索中...
未找到
IpcServer类 参考

Public 成员函数

 IpcServer (String hostId, String slaveId)
 
boolean Send (String message)
 
String Receive ()
 
String GetHostId ()
 
String GetSlaveId ()
 
IpcChannel getM_SlaveIPC ()
 
IpcChannel getM_HostIPC ()
 

详细描述

The IPC Server

构造及析构函数说明

◆ IpcServer()

IpcServer.IpcServer ( String hostId,
String slaveId )

Constructor

参数
hostIdthe host server id, to recevie message.
slaveIdthe slave id, to send message

成员函数说明

◆ Receive()

String IpcServer.Receive ( )

Get message from Host.

返回
the message

◆ Send()

boolean IpcServer.Send ( String message)

Send message by Slave.

参数
messagethe message.
返回
true.