SocketConnectorHandler interface by pre-implementing some of
its methods.
| Modifier and Type | Class and Description |
|---|---|
| public abstract static class | AbstractSocketConnectorHandler.
itself E extends AbstractSocketConnectorHandler.Builder |
| Modifier and Type | Field and Description |
|---|---|
| protected final List | |
| private Processor | |
| private ProcessorSelector | |
| protected final Transport |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addMonitoringProbe(ConnectionProbe
the probe)ConnectionProbe.Add the |
| public GrizzlyFuture | connect(String host, int port)
Implements org. Creates, initializes and connects socket to the specific remote host and port and returns |
| public GrizzlyFuture | connect(SocketAddress remoteAddress)
Implements org. Creates, initializes and establishes |
| public void | connect(SocketAddress remoteAddress, CompletionHandler<Connection<L>> completionHandler)
Implements org.
|
| public GrizzlyFuture | connect(SocketAddress remoteAddress, SocketAddress localAddress)
Implements org. Creates, initializes |
| public void | connect(SocketAddress remoteAddress, SocketAddress localAddress, CompletionHandler<Connection<L>> completionHandler)
Implements org. Creates, initializes |
| protected abstract FutureImpl | connectAsync(final SocketAddress remoteAddress, final SocketAddress localAddress, final CompletionHandler<Connection<L>> completionHandler, final boolean needFuture)
|
| public ConnectionProbe[] | Returns: theConnectionProbe, which are registered on the Connection.Get the |
| public Processor | |
| public ProcessorSelector | Returns: the defaultProcessorSelector, which will be used to get Processor to process I/O events,
occurring on connection phase.Gets the default |
| protected FutureImpl | |
| protected void | preConfigure(Connection<L>
Connection to pre-configure.Pre-configures |
| public boolean | Returns: true if probe was in the list and is now removedthe probe)ConnectionProbe.Remove the |
| public void | |
| public void | setProcessorSelector(ProcessorSelector
the default processorSelector)ProcessorSelector, which will be used to get Processor to
process I/O events, occurring on connection phase.Sets the default |
| probes | back to summary |
|---|---|
| protected final List<ConnectionProbe> probes | |
| processor | back to summary |
|---|---|
| private Processor<E extends Context> processor | |
| processorSelector | back to summary |
|---|---|
| private ProcessorSelector processorSelector | |
| transport | back to summary |
|---|---|
| protected final Transport transport | |
| AbstractSocketConnectorHandler | back to summary |
|---|---|
| public AbstractSocketConnectorHandler(Transport transport) | |
| addMonitoringProbe | back to summary |
|---|---|
| public void addMonitoringProbe(ConnectionProbe probe) Add the
| |
| connect | back to summary |
|---|---|
| public GrizzlyFuture Implements org. Doc from org. Creates, initializes and connects socket to the specific remote host and port and returns
| |
| connect | back to summary |
|---|---|
| public GrizzlyFuture Implements org. Doc from org. Creates, initializes and establishes
| |
| connect | back to summary |
|---|---|
| public void connect(SocketAddress remoteAddress, CompletionHandler<Connection<L>> completionHandler) Implements org.
| |
| connect | back to summary |
|---|---|
| public GrizzlyFuture Implements org. Doc from org. Creates, initializes
| |
| connect | back to summary |
|---|---|
| public void connect(SocketAddress remoteAddress, SocketAddress localAddress, CompletionHandler<Connection<L>> completionHandler) Implements org. Doc from org. Creates, initializes
| |
| connectAsync | back to summary |
|---|---|
| protected abstract FutureImpl | |
| getMonitoringProbes | back to summary |
|---|---|
| public ConnectionProbe[] getMonitoringProbes() Get the
| |
| getProcessor | back to summary |
|---|---|
| public Processor Get the default | |
| getProcessorSelector | back to summary |
|---|---|
| public ProcessorSelector getProcessorSelector() Gets the default
| |
| makeCancellableFuture | back to summary |
|---|---|
| protected FutureImpl | |
| preConfigure | back to summary |
|---|---|
| protected void preConfigure(Connection<L> connection) Pre-configures
| |
| removeMonitoringProbe | back to summary |
|---|---|
| public boolean removeMonitoringProbe(ConnectionProbe probe) Remove the
| |
| setProcessor | back to summary |
|---|---|
| public void setProcessor(Processor<E extends Context> processor) Set the default | |
| setProcessorSelector | back to summary |
|---|---|
| public void setProcessorSelector(ProcessorSelector processorSelector) Sets the default
| |
| Modifier and Type | Field and Description |
|---|---|
| protected ConnectionProbe | |
| protected Processor | |
| protected ProcessorSelector |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public AbstractSocketConnectorHandler | |
| protected abstract AbstractSocketConnectorHandler | |
| public E | |
| public E | |
| public E |
| connectionProbe | back to summary |
|---|---|
| protected ConnectionProbe connectionProbe | |
| processor | back to summary |
|---|---|
| protected Processor<E extends Context> processor | |
| processorSelector | back to summary |
|---|---|
| protected ProcessorSelector processorSelector | |
| Builder | back to summary |
|---|---|
| public Builder() | |
| build | back to summary |
|---|---|
| public AbstractSocketConnectorHandler build() | |
| create | back to summary |
|---|---|
| protected abstract AbstractSocketConnectorHandler create() | |
| probe | back to summary |
|---|---|
| public E probe(ConnectionProbe connectionProbe) | |
| processor | back to summary |
|---|---|
| public E processor(final Processor<E extends Context> processor) | |
| processorSelector | back to summary |
|---|---|
| public E processorSelector(final ProcessorSelector processorSelector) | |