/** * Create a new connection manager, which will try to connect using the protocol connection configuration. * * @param configuration the connection configuration * @param openHandler the connection open handler * @param next the next connect connectTask used once disconnected * @return the connection manager */ public static ProtocolConnectionManager create(final ProtocolConnectionConfiguration configuration, final ConnectionOpenHandler openHandler, final ConnectTask next) { return create(new EstablishingConnection(configuration, openHandler, next)); }
/** * Create a new connection manager, which will try to connect using the protocol connection configuration. * * @param configuration the connection configuration * @param openHandler the connection open handler * @return the connection manager */ public static ProtocolConnectionManager create(final ProtocolConnectionConfiguration configuration, final ConnectionOpenHandler openHandler) { return create(new EstablishingConnection(configuration, openHandler)); }
/** * Create a new connection manager, which will try to connect using the protocol connection configuration. * * @param configuration the connection configuration * @param openHandler the connection open handler * @return the connection manager */ public static ProtocolConnectionManager create(final ProtocolConnectionConfiguration configuration, final ConnectionOpenHandler openHandler) { return create(new EstablishingConnection(configuration, openHandler)); }
/** * Create a new connection manager, which will try to connect using the protocol connection configuration. * * @param configuration the connection configuration * @param openHandler the connection open handler * @return the connection manager */ public static ProtocolConnectionManager create(final ProtocolConnectionConfiguration configuration, final ConnectionOpenHandler openHandler) { return create(new EstablishingConnection(configuration, openHandler)); }
/** * Create a new connection manager, which will try to connect using the protocol connection configuration. * * @param configuration the connection configuration * @param openHandler the connection open handler * @param next the next connect connectTask used once disconnected * @return the connection manager */ public static ProtocolConnectionManager create(final ProtocolConnectionConfiguration configuration, final ConnectionOpenHandler openHandler, final ConnectTask next) { return create(new EstablishingConnection(configuration, openHandler, next)); }
/** * Create a new connection manager, which will try to connect using the protocol connection configuration. * * @param configuration the connection configuration * @param openHandler the connection open handler * @param next the next connect connectTask used once disconnected * @return the connection manager */ public static ProtocolConnectionManager create(final ProtocolConnectionConfiguration configuration, final ConnectionOpenHandler openHandler, final ConnectTask next) { return create(new EstablishingConnection(configuration, openHandler, next)); }