Beispiel #1
0
        public void  addNotReceived(Address sender)
        {
            Rsp rsp = find(sender);

            if (rsp == null)
            {
                rsps.Add(new Rsp(sender));
            }
        }
Beispiel #2
0
        public object get(Address sender)
        {
            Rsp rsp = find(sender);

            if (rsp == null)
            {
                return(null);
            }
            return(rsp.retval);
        }
Beispiel #3
0
        public bool isSuspected(Address sender)
        {
            Rsp rsp = find(sender);

            if (rsp == null)
            {
                return(false);
            }
            return(rsp.suspected);
        }
Beispiel #4
0
        public bool isReceived(Address sender)
        {
            Rsp rsp = find(sender);

            if (rsp == null)
            {
                return(false);
            }
            return(rsp.received);
        }
Beispiel #5
0
        public void  addSuspect(Address sender)
        {
            Rsp rsp = find(sender);

            if (rsp != null)
            {
                rsp.sender = sender; rsp.retval = null; rsp.received = false; rsp.suspected = true;
                return;
            }
            rsps.Add(new Rsp(sender, true));
        }
Beispiel #6
0
        public void addRsp(Address sender, object retval)

        {
            Rsp rsp = find(sender);

            if (rsp != null)
            {
                rsp.sender = sender; rsp.retval = retval; rsp.received = true; rsp.suspected = false;
                return;
            }
            rsp = new Rsp(sender, retval);
            rsps.Add(rsp);
        }
Beispiel #7
0
 public void removeRsp(Rsp r)
 {
     rsps.Remove(r);
 }
Beispiel #8
0
        public void addRsp(Address sender, object retval)

        {
            Rsp rsp = find(sender);

            if (rsp != null)
            {
                rsp.sender = sender; rsp.retval = retval; rsp.received = true; rsp.suspected = false;
                return;
            }
            rsp = new Rsp(sender, retval);
            rsps.Add(rsp);
        }