RPC – Remote Procedure Call With Diarkis

 
This article is based on the older version. The latest article on RPC is here.
Diarkis enables you to implement client-to-client (s) RPC. In this article, we will explain how to implement RPC using Diarkis’ Room module.
The room module can act as an RPC message broker. You may execute RPC operations between room member clients.
 

How To Invoke RCP On A Remote Client

By sending an RPC message to a remote client in the same room, you may execute an RPC command on the remote client.
NOTE: msgData shown here is an example and it is not included in the client SDK.
RPC Sender Code Example:
 

How To Invoke RPC On Multiple Clients

You may send an RPC command to multiple remote clients in the same room.
NOTE: msgData shown here is an example and it is not included in the client SDK.
RPC Sender Code Example:
 

How To Execute RPC Sent From A Remote Client

The example below shows how to execute RPC commands sent from remote clients in the same room.
NOTE: msgData shown here is an example and it is not included in the client SDK.
RPC Receiver Code Example:
 

How To Invoke RCP On All Remote Clients In A Room

Sending an RPC command to all members of the room will allow you to execute an RPC command on all clients in the room.
NOTE: msgData shown here is an example and it is not included in the client SDK.
RPC Sender Code Example:
 

How To Execute RPC Sent From A Remote Client Via Broadcast

The example below shows how to execute RPC commands sent from remote clients in the same room.
NOTE: msgData shown here is an example and it is not included in the client SDK.
RPC Receiver Code Example:
 
The link to Diarkis C# client SDK documentation is here.

Contact us

For inquiries about Diarkis introduction, employment entry, etc., click here.