public void SendToServer(ThePalaceEntities dbConetxt, object message) { var serverDown = new Protocols.MSG_SERVERDOWN { whyMessage = whyMessage, }; SessionManager.SendToServer(serverDown, EventTypes.MSG_SERVERDOWN, (Int32)reason); }
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); }