| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| protected class | |
| protected class | UDPNIOTransport.
Transport default |
| Modifier and Type | Field and Description |
|---|---|
| protected final AsyncQueueIO | asyncQueueIO
Transport AsyncQueueIO |
| private final UDPNIOBindingHandler | |
| private final UDPNIOConnectorHandler | |
| public static final ChannelConfigurator | DEFAULT_CHANNEL_CONFIGURATOR
Default |
| private static final String | |
| pack-priv static final Logger | |
| protected final UDPNIOTransport. | |
| protected final Collection | serverConnections
The Server connections. |
| private final Filter | transportFilter
Server socket backlog. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized boolean | addShutdownListener(GracefulShutdownListener shutdownListener)
Overrides org. Implements org. Adds a |
| public UDPNIOServerConnection | bind(int port)
Implements org. Binds Transport to the specific port on localhost. |
| public UDPNIOServerConnection | bind(String host, int port)
Implements org. Binds Transport to the specific host and port. |
| public UDPNIOServerConnection | bind(String host, int port, int backlog)
Implements org. Binds Transport to the specific host and port. |
| public UDPNIOServerConnection | bind(SocketAddress socketAddress)
Implements org. Binds Transport to the specific SocketAddress. |
| public UDPNIOServerConnection | bind(SocketAddress socketAddress, int backlog)
Implements org. Binds Transport to the specific SocketAddress. |
| public UDPNIOServerConnection | bind(final String host, final PortRange portRange, final int backlog)
Implements org. Binds Transport to the specific host, and port within a |
| public UDPNIOServerConnection | bind(final String host, final PortRange portRange, final boolean randomStartPort, final int backlog)
Implements org. Binds Transport to the specific host, and port within a |
| public Connection | bindToInherited()
Implements org. Binds the Transport to the channel inherited from the entity that created this Java virtual machine. |
| protected void | closeConnection(final Connection<L> connection)
Implements abstract org. Close the connection, managed by Transport |
| public synchronized void | configureStandalone(boolean isStandalone)
Implements org.
|
| public GrizzlyFuture | |
| public GrizzlyFuture | connect(String
remote host to connect to. host, int remote port to connect to. port)Implements org. Creates, initializes and connects socket to the specific remote host and port and returns |
| public GrizzlyFuture | connect(SocketAddress
remote address to connect to. remoteAddress)Implements org. Creates, initializes and connects socket to the specific |
| public void | connect(SocketAddress
remote address to connect to. remoteAddress, CompletionHandler<Connection<L>> completionHandler)Implements org. Creates, initializes and connects socket to the specific |
| public GrizzlyFuture | connect(SocketAddress
remote address to connect to. remoteAddress, SocketAddress local address to bind socket to. localAddress)Implements org. Creates, initializes socket, binds it to the specific local and remote |
| public void | connect(SocketAddress
remote address to connect to. remoteAddress, SocketAddress local address to bind socket to. localAddress, CompletionHandler<Connection<L>> completionHandler)Implements org. Creates, initializes socket, binds it to the specific local and remote |
| protected Object | createJmxManagementObject()
Implements abstract org. Create the Transport JMX management object. |
| protected TemporarySelectorIO | createTemporarySelectorIO()
Implements abstract org.
|
| public void | fireIOEvent(final IOEvent ioEvent, final Connection<L> connection, final IOEventLifeCycleListener listener)
Implements org. Fires specific |
| public AsyncQueueIO | getAsyncQueueIO()
Implements org. Get asynchronous queue implementation. |
| public ChannelConfigurator | |
| public Reader | getReader(final Connection<L> connection)
Implements org. Get the |
| public Reader | getReader(final boolean isBlocking)
Implements org. Get the |
| public TemporarySelectorIO | |
| public Filter | getTransportFilter()
Implements org. Get transport |
| public Writer | getWriter(final Connection<L> connection)
Implements org. Get the |
| public Writer | getWriter(final boolean isBlocking)
Implements org. Get the |
| protected void | |
| pack-priv UDPNIOConnection | |
| pack-priv UDPNIOServerConnection | |
| public int | |
| public int | read(final UDPNIOConnection connection, Buffer buffer, final ReadResult<Buffer, SocketAddress> currentResult)
|
| private int | readConnected(final UDPNIOConnection connection, Buffer buffer, final ReadResult<Buffer, SocketAddress> currentResult)
|
| private int | readNonConnected(final UDPNIOConnection connection, Buffer buffer, final ReadResult<Buffer, SocketAddress> currentResult)
|
| public void | unbind(final Connection<L> connection)
Implements org. Unbinds bound |
| public void | unbindAll()
Implements abstract org. Implements org. Unbinds all bound |
| public long | write(final UDPNIOConnection connection, final SocketAddress dstAddress, final WritableMessage message)
|
| public long | write(final UDPNIOConnection connection, final SocketAddress dstAddress, final WritableMessage message, final WriteResult<WritableMessage, SocketAddress> currentResult)
|