def _handleMessage(self, src_socket, msg):
self._logger.debug('<STR_LIT>'.format(msg))<EOL>if src_socket is self._socket_a:<EOL><INDENT>src_name, src_host, src_port = '<STR_LIT:A>', self._host_a, self._port_a<EOL>dst_name, dst_host, dst_port = '<STR_LIT:B>', self._host_b, self._port_b<EOL>dst_socket = self._socket_b<EOL><DEDENT>elif src_socket is self._socket_b:<EOL><INDENT>src_name, src_host, src_port = '<STR_LIT:B>', self._host_b, self._port_b<EOL>dst_name, dst_host, dst_port = '<STR_LIT:A>', self._host_a, self._port_a<EOL>dst_socket = self._socket_a<EOL><DEDENT>else:<EOL><INDENT>self._logger.warning(<EOL>'<STR_LIT>'<EOL>'<STR_LIT>')<EOL>return False<EOL><DEDENT>self._logger.debug(<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>.format(<EOL>src_name, src_host, src_port,<EOL>dst_name, dst_host, dst_port))<EOL>if not msg or msg == '<STR_LIT>':<EOL><INDENT>self._logger.info(<EOL>'<STR_LIT>'.format(src_name))<EOL>return True<EOL><DEDENT>if self._message_middleware is not None:<EOL><INDENT>msg = self._message_middleware(<EOL>msg,<EOL>src_name, src_host, src_port,<EOL>dst_name, dst_host, dst_port)<EOL><DEDENT>dst_socket.send(msg)<EOL>return False<EOL>
:returns: :data:`python:True` if the connect has been disconnected and
          :data:`python:False` if the connection is still alive and
          everything was processed normally