code: private SipProtocolHandler findSipConnector(String ipAddress, int port, String transport) {
          SipConnector connectorToRemove = null;
          for (SipProtocolHandler protocolHandler : connectors) {
              if (protocolHandler.getIpAddress().equals(ipAddress) && protocolHandler.getPort() == port
                      && protocolHandler.getSignalingTransport().equalsIgnoreCase(transport)) {
                  connectorToRemove = protocolHandler.getSipConnector();
                  return protocolHandler;
              }
          }
          return null;
      }
docs: Find a sip Connector by it's ip address, port and transport
  
  @param ipAddress ip address of the connector to find
  @param port port of the connector to find
  @param transport transport of the connector to find
  @return the found sip connector or null if noting found