K2Informatics.Erlnet.OtpNode.Mailboxes.get C# (CSharp) Méthode

get() public méthode

public get ( OtpErlangPid pid ) : OtpMbox
pid OtpErlangPid
Résultat OtpMbox
            public OtpMbox get(OtpErlangPid pid)
            {
                lock (this)
                {
                    if (byPid.ContainsKey(pid))
                    {
                        WeakReference wr = byPid[pid];
                        OtpMbox m = (OtpMbox)wr.Target;

                        if (m != null)
                        {
                            return m;
                        }
                        byPid.Remove(pid);
                    }
                    return null;
                }
            }

Same methods

OtpNode.Mailboxes::get ( String name ) : OtpMbox