Exemple #1
0
        public void EndSend(string identifier, IAsyncResult asyncResult)
        {
            if (this.Identifier != identifier)
            {
                throw new InvalidOperationException(
                          string.Format("Channel identifier is not matched, Identifier[{0}].", identifier));
            }

            _innerSession.EndSend(asyncResult);
        }
Exemple #2
0
        public void EndSendTo(string sessionKey, IAsyncResult asyncResult)
        {
            ActorTransportSession session = null;

            if (_sessions.TryGetValue(sessionKey, out session))
            {
                session.EndSend(asyncResult);
            }
            else
            {
                _log.WarnFormat("EndSendTo, cannot find target session [{0}].", sessionKey);
            }
        }
 public void EndSend(string actorType, string actorName, IAsyncResult asyncResult)
 {
     _innerSession.EndSend(asyncResult);
 }