Method | Description | |
---|---|---|
FunapiMulticastClient ( |
||
InChannel ( string channel_id ) : bool | ||
JoinChannel ( string channel_id, ChannelReceiveHandler handler ) : bool | ||
LeaveChannel ( string channel_id ) : bool | ||
SendToChannel ( FunMulticastMessage mcast_msg ) : bool |
The sender must fill in the mcast_msg. The "channel_id" field is mandatory. And mcas_msg must have join and leave flags set.
|
|
SendToChannel ( object json_msg ) : bool |
The sender must fill in the mcast_msg. The "channel_id" field is mandatory. And mcas_msg must have join and leave flags set.
|
Method | Description | |
---|---|---|
OnReceived ( string msg_type, object body ) : void |
public FunapiMulticastClient ( |
||
network | ||
encoding | FunEncoding | |
return | UnityEngine |
public InChannel ( string channel_id ) : bool | ||
channel_id | string | |
return | bool |
public JoinChannel ( string channel_id, ChannelReceiveHandler handler ) : bool | ||
channel_id | string | |
handler | ChannelReceiveHandler | |
return | bool |
public LeaveChannel ( string channel_id ) : bool | ||
channel_id | string | |
return | bool |
public SendToChannel ( FunMulticastMessage mcast_msg ) : bool | ||
mcast_msg | FunMulticastMessage | |
return | bool |
public SendToChannel ( object json_msg ) : bool | ||
json_msg | object | |
return | bool |