Exemplo n.º 1
0
 public void sendRPCcast(string node, Erlang.Atom mod, Erlang.Atom fun, Erlang.List args, Erlang.Object ioServer)
 {
     if (node.Equals(home.node()))
     {
         throw new System.ArgumentException("Cannot make rpc cast on local node!");
     }
     else
     {
         Erlang.Object       msg  = AbstractConnection.encodeRPCcast(_self, mod, fun, args, ioServer);
         OtpCookedConnection conn = home.connection(node);
         if (conn == null)
         {
             throw new System.Exception("Cannot establish connection to node " + node);
         }
         conn.send(_self, "rex", msg);
     }
 }