def _onNewIncomingConnection(self, conn):
self._unknownConnections.add(conn)<EOL>encryptor = self._syncObj.encryptor<EOL>if encryptor:<EOL><INDENT>conn.encryptor = encryptor<EOL><DEDENT>conn.setOnMessageReceivedCallback(functools.partial(self._onIncomingMessageReceived, conn))<EOL>conn.setOnDisconnectedCallback(functools.partial(self._onDisconnected, conn))<EOL>
Callback for connections initiated by the other side

:param conn: connection object
:type conn: TcpConnection