K2Informatics.Erlnet.OtpMbox.send C# (CSharp) Method

send() public method

public send ( OtpErlangPid to, OtpErlangObject msg ) : void
to OtpErlangPid
msg OtpErlangObject
return void
        public void send(OtpErlangPid to, OtpErlangObject msg)
        {
            try
            {
                String node = to.Node;
                if (node.Equals(home.Node))
                {
                    home.deliver(new OtpMsg(to, (OtpErlangObject)msg.Clone()));
                }
                else
                {
                    OtpCookedConnection conn = home.getConnection(node);
                    if (conn == null)
                    {
                        return;
                    }
                    conn.send(self, to, msg);
                }
            }
            catch (Exception)
            {
            }
        }

Same methods

OtpMbox::send ( String name, OtpErlangObject msg ) : void
OtpMbox::send ( String name, String node, OtpErlangObject msg ) : void