Ejemplo n.º 1
0
        public ServerDefault(ServiceConfiguration configuration)
        {
            this.configuration = configuration;

            msgHandler = new NetworkMessageHandler();
            server = new NetworkServer();
            server.serverDelegate = this;

            SetupMessageHandlers();
        }
Ejemplo n.º 2
0
 public virtual void Release()
 {
     msgHandler = null;
     server = null;
     configuration = null;
 }
Ejemplo n.º 3
0
 public virtual void OnNetworkServerClientMessage(NetworkServer server, int client, NetworkMessage msg)
 {
     msgHandler.ProcessMessage(msg);
 }
Ejemplo n.º 4
0
 public virtual void OnNetworkServerClientDisconnected(NetworkServer server, int client)
 {
 }
Ejemplo n.º 5
0
 public override void OnNetworkServerClientMessage(NetworkServer server, int client, NetworkMessage msg)
 {
     base.OnNetworkServerClientMessage(server, client, msg);
 }
Ejemplo n.º 6
0
 public override void OnNetworkServerClientDisconnected(NetworkServer server, int client)
 {
     base.OnNetworkServerClientDisconnected(server, client);
 }