Example #1
0
        public SOEConnectionManager(SOEServer server)
        {
            // Server
            Server = server;

            // Our client lists
            Clients            = new List <SOEClient>();
            Host2ClientID      = new Dictionary <IPEndPoint, int>();
            SessionID2ClientID = new Dictionary <uint, int>();

            // Log
            Log("Service constructed");
        }
Example #2
0
        public SOEProtocol(SOEServer server, string protocol)
        {
            // This components settings
            Server         = server;
            ProtocolString = protocol;

            // Make our protocol known
            MessageHandlers.MakeProtocol(protocol);

            // Log
            Log("Service constructed");
            Log("Using protocol -- {0}", ProtocolString);
        }
Example #3
0
        public SOEConnectionManager(SOEServer server)
        {
            // Server
            Server = server;

            // Our client lists
            Clients = new List<SOEClient>();
            Host2ClientID = new Dictionary<IPEndPoint, int>();
            SessionID2ClientID = new Dictionary<uint, int>();

            // Log
            Log("Service constructed");
        }
Example #4
0
        public SOEProtocol(SOEServer server, string protocol)
        {
            // This components settings
            Server = server;
            ProtocolString = protocol;

            // Make our protocol known
            MessageHandlers.MakeProtocol(protocol);

            // Log
            Log("Service constructed");
            Log("Using protocol -- {0}", ProtocolString);
        }
Example #5
0
        public SOEClient(SOEConnectionManager manager, IPEndPoint client)
        {
            // Manager and server
            Server      = manager.Server;
            Manager     = manager;
            Client      = client;
            DataChannel = new SOEDataChannel(this);

            // Session
            SessionStarted = false;
            Encryptable    = false;
            Compressable   = true;

            Encrypted = false;

            // This client is new
            Interact();
        }
Example #6
0
        public SOEClient(SOEConnectionManager manager, IPEndPoint client)
        {
            // Manager and server
            Server = manager.Server;
            Manager = manager;
            Client = client;
            DataChannel = new SOEDataChannel(this);

            // Session
            SessionStarted = false;
            Encryptable = false;
            Compressable = true;

            Encrypted = false;

            // This client is new
            Interact();
        }