예제 #1
0
        public void SendToServer(ThePalaceEntities dbConetxt, object message)
        {
            var serverDown = new Protocols.MSG_SERVERDOWN
            {
                whyMessage = whyMessage,
            };

            SessionManager.SendToServer(serverDown, EventTypes.MSG_SERVERDOWN, (Int32)reason);
        }
예제 #2
0
        public void Send(ThePalaceEntities dbConetxt, object message)
        {
            var sessionState = ((Message)message).sessionState;
            var serverDown   = new Protocols.MSG_SERVERDOWN
            {
                whyMessage = whyMessage,
            };

            sessionState.Send(serverDown, EventTypes.MSG_SERVERDOWN, (Int32)reason);
        }