code: void switchConnectionListener(Object c, ConnectionListener from, ConnectionListener to)
     {
        if (clToC != null && clToC.get(from) != null && clToC.get(to) != null)
        {
           clToC.get(from).remove(c);
           clToC.get(to).add(c);
        }
     }
docs: Switch the connection listener for a connection
  @param c The connection
  @param from The from connection listener
  @param to The to connection listener