Exemplo n.º 1
0
        public void BroadcastDistributedObjectUpdateMessageToZone(Message message, DistributedObjectId serverDistributedObjectId)
        {
            ZoneId      zoneId = this.GetZone(serverDistributedObjectId);
            List <Guid> sessionIdsToSendMessage = mServerStateMachine.SessionManager.GetSessionIdsInterestedInZoneId(zoneId);

            mServerStateMachine.SendMessageToReflector(message, sessionIdsToSendMessage);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Send message back to channel corresponding to the provided sessionId.  Usually this is the sessionId that sent the original request
 /// </summary>
 /// <param name="message"></param>
 /// <param name="sessionId"></param>
 protected void SendMessageToClient(Message message, Guid sessionId)
 {
     mServerStateMachine.SendMessageToReflector(message, sessionId);
 }