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"); }
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); }
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"); }
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(); }