| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| private class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| protected volatile long | |
| protected boolean | |
| protected boolean | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| private static void | abortConnection(final UDPNIOConnection connection, final CompletionHandler<Connection<L>> completionHandler, final Throwable failure)
|
| public static UDPNIOConnectorHandler. | Returns: theUDPNIOConnectorHandler builder.Return the |
| public GrizzlyFuture | |
| public void | connect(final SocketAddress remoteAddress, final SocketAddress localAddress, final CompletionHandler<Connection<L>> completionHandler)
Overrides org. Implements org. Creates, initializes |
| protected FutureImpl | connectAsync(final SocketAddress remoteAddress, final SocketAddress localAddress, final CompletionHandler<Connection<L>> completionHandler, final boolean needFuture)
Implements abstract org.
|
| protected void | connectSync(final SocketAddress remoteAddress, final SocketAddress localAddress, final CompletionHandler<Connection<L>> completionHandler)
|
| public long | |
| public boolean | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| protected void | waitNIOFuture(final FutureImpl<Connection<L>> future, final CompletionHandler<Connection<L>> completionHandler)
|
| connectionTimeoutMillis | back to summary |
|---|---|
| protected volatile long connectionTimeoutMillis | |
| isReuseAddress | back to summary |
|---|---|
| protected boolean isReuseAddress | |
| isReusePort | back to summary |
|---|---|
| protected boolean isReusePort | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| UDPNIOConnectorHandler | back to summary |
|---|---|
| protected UDPNIOConnectorHandler(UDPNIOTransport transport) | |
| abortConnection | back to summary |
|---|---|
| private static void abortConnection(final UDPNIOConnection connection, final CompletionHandler<Connection<L>> completionHandler, final Throwable failure) | |
| builder | back to summary |
|---|---|
| public static UDPNIOConnectorHandler. Return the
| |
| connect | back to summary |
|---|---|
| public GrizzlyFuture Creates non-connected UDP
| |
| connect | back to summary |
|---|---|
| public void connect(final SocketAddress remoteAddress, final SocketAddress localAddress, final CompletionHandler<Connection<L>> completionHandler) Overrides org. Implements org. Doc from org. Creates, initializes
| |
| connectAsync | back to summary |
|---|---|
| protected FutureImpl Implements abstract org.
| |
| connectSync | back to summary |
|---|---|
| protected void connectSync(final SocketAddress remoteAddress, final SocketAddress localAddress, final CompletionHandler<Connection<L>> completionHandler) | |
| getSyncConnectTimeout | back to summary |
|---|---|
| public long getSyncConnectTimeout(final TimeUnit timeUnit) | |
| isReuseAddress | back to summary |
|---|---|
| public boolean isReuseAddress() | |
| isReusePort | back to summary |
|---|---|
| public boolean isReusePort() | |
| setReuseAddress | back to summary |
|---|---|
| public void setReuseAddress(boolean isReuseAddress) | |
| setReusePort | back to summary |
|---|---|
| public void setReusePort(boolean isReusePort) | |
| setSyncConnectTimeout | back to summary |
|---|---|
| public void setSyncConnectTimeout(final long timeout, final TimeUnit timeUnit) | |
| waitNIOFuture | back to summary |
|---|---|
| protected void waitNIOFuture(final FutureImpl<Connection<L>> future, final CompletionHandler<Connection<L>> completionHandler) | |
| Modifier and Type | Field and Description |
|---|---|
| private Boolean | |
| private Boolean | |
| private Long | |
| private TimeUnit | |
| private UDPNIOTransport |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public UDPNIOConnectorHandler | |
| protected AbstractSocketConnectorHandler | |
| public UDPNIOConnectorHandler. | |
| public UDPNIOConnectorHandler. | |
| public UDPNIOConnectorHandler. | |
| public UDPNIOConnectorHandler. |
| reuseAddress | back to summary |
|---|---|
| private Boolean reuseAddress | |
| reusePort | back to summary |
|---|---|
| private Boolean reusePort | |
| timeout | back to summary |
|---|---|
| private Long timeout | |
| timeoutTimeunit | back to summary |
|---|---|
| private TimeUnit timeoutTimeunit | |
| transport | back to summary |
|---|---|
| private UDPNIOTransport transport | |
| Builder | back to summary |
|---|---|
| public Builder() | |
| build | back to summary |
|---|---|
| public UDPNIOConnectorHandler build() Overrides org.
| |
| create | back to summary |
|---|---|
| protected AbstractSocketConnectorHandler create() Implements abstract org.
| |
| setReuseAddress | back to summary |
|---|---|
| public UDPNIOConnectorHandler. | |
| setReusePort | back to summary |
|---|---|
| public UDPNIOConnectorHandler. | |
| setSyncConnectTimeout | back to summary |
|---|---|
| public UDPNIOConnectorHandler. | |
| setTransport | back to summary |
|---|---|
| public UDPNIOConnectorHandler. | |
| Modifier and Type | Field and Description |
|---|---|
| private final CompletionHandler | |
| private final UDPNIOConnection |
| Access | Constructor and Description |
|---|---|
| private | ConnectHandler(final UDPNIOConnection connection, final CompletionHandler<Connection<L>> completionHandler)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | completed(RegisterChannelResult result)
Overrides org. Implements org. The operation was completed. |
| public void | failed(final Throwable throwable)
Overrides org. Implements org. The operation was failed. |
| completionHandler | back to summary |
|---|---|
| private final CompletionHandler<Connection<L>> completionHandler | |
| connection | back to summary |
|---|---|
| private final UDPNIOConnection connection | |
| ConnectHandler | back to summary |
|---|---|
| private ConnectHandler(final UDPNIOConnection connection, final CompletionHandler<Connection<L>> completionHandler) | |
| completed | back to summary |
|---|---|
| public void completed(RegisterChannelResult result) Overrides org. Implements org. Doc from org. The operation was completed.
| |
| failed | back to summary |
|---|---|
| public void failed(final Throwable throwable) Overrides org. Implements org. Doc from org. The operation was failed.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final CompletionHandler |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | onComplete(final Context context, final Object data)
Overrides org. Implements org.
|
| public void | onError(final Context context, final Object description)
Overrides org. Implements org. Error occurred during |
| public void | onNotRun(final Context context)
Overrides org. Implements org.
|
| public void | onReregister(final Context context)
Overrides org. Implements org. Reregister |
| completionHandler | back to summary |
|---|---|
| private final CompletionHandler<Connection<L>> completionHandler | |
| EnableReadHandler | back to summary |
|---|---|
| private EnableReadHandler(final CompletionHandler<Connection<L>> completionHandler) | |
| onComplete | back to summary |
|---|---|
| public void onComplete(final Context context, final Object data) throws IOException Overrides org. Implements org. Doc from org.
| |
| onError | back to summary |
|---|---|
| public void onError(final Context context, final Object description) throws IOException Overrides org. Implements org. Doc from org. Error occurred during
| |
| onNotRun | back to summary |
|---|---|
| public void onNotRun(final Context context) throws IOException Overrides org. Implements org. Doc from org.
| |
| onReregister | back to summary |
|---|---|
| public void onReregister(final Context context) throws IOException Overrides org. Implements org. Doc from org. Reregister
| |