public ClientConnection(Connection connection, SteamDroidServer server) { this.connection = connection; connection.MessageReceived += new Connection.MessageReceivedHandler(connection_MessageReceived); connection.ConnectionClosed += new Connection.ConnectionClosedHandler(connection_ConnectionClosed); this.server = server; this.authorized = false; connection.StartListener(); }
public ClientConnection(Connection connection, SteamDroidServer server) { this.connection = connection; connection.MessageReceived += new Connection.MessageReceivedHandler(connection_MessageReceived); connection.ConnectionClosed += new Connection.ConnectionClosedHandler(connection_ConnectionClosed); this.server = server; this.authorized = false; connection.StartListener(); }