PSOM

Message type:

    1. Record message(message type+message body);

  • Close (message type=0x00)
  • SetChannel (0x04)
  • Break(0x06)
  • RpcMessage(0x16)
  • RPCOpen(0x37): The record body MUST include the PSOM channel identifier, which is an unsigned 32-bit integer(channel 0), and a special ConnMgr distributed object.

     2. PSOM operation channel message;

      PSOM channel messages represent a PSOM operation, which is an action to take or method to call that involves

      a particular distributed object.

      When a distributed object is first connected, it MUST be assigned a unique proxy identifier that is understood by the server (2)

      and client. (Proxy identifier 用来区分DO). 一方为自己定义一个ProxyId, 为一个大于0的整数,发送连接请求给另一方,另一方

      接收后为自己设定的ProxyId为接收的ProxyId的负数。

  • OpenClose(0x86)
  • Connect/Disconnect Child(0x84): 父DO可以连接或者断开子DO对象。ConnMgr和Meeting的连接是隐式建立的,其它DO的连接需要显式建立。
  • RPC message: The RPC message type indicates the message is meant to call a given interface method with a pre-defined set of parameters.
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值