@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        SerialSocketAddress that = (SerialSocketAddress) o;
        return Objects.equals(identifier, that.identifier);
    }
@param identifier of the port
@param handler    for custom behavior.  E.g. testing
plc4j/transports/serial/src/main/java/org/apache/plc4x/java/transport/serial/SerialSocketAddress.java