| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| pack-priv class | |
| pack-priv class | TCPNIOTransport.
Transport default |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final AsyncQueueIO | asyncQueueIO
Transport AsyncQueueIO |
| private final TCPNIOBindingHandler | |
| private final TCPNIOConnectorHandler | |
| public static final ChannelConfigurator | DEFAULT_CHANNEL_CONFIGURATOR
Default |
| public static final boolean | |
| public static final int | |
| public static final int | |
| public static final boolean | |
| private static final String | |
| private final Filter | |
| pack-priv boolean | isKeepAlive
The socket keepAlive mode. |
| pack-priv int | linger
The socket linger. |
| pack-priv static final Logger | |
| public static final int | |
| public static final int | |
| pack-priv final TCPNIOTransport. | |
| pack-priv int | serverConnectionBackLog
The default server connection backlog size |
| pack-priv final Collection | serverConnections
The Server connections. |
| pack-priv boolean | tcpNoDelay
The socket tcpDelay. |
| Access | Constructor and Description |
|---|---|
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public TCPNIOServerConnection | bind(final int port)
Implements org. Binds Transport to the specific port on localhost. |
| public TCPNIOServerConnection | bind(final String host, final int port)
Implements org. Binds Transport to the specific host and port. |
| public TCPNIOServerConnection | bind(final String host, final int port, final int backlog)
Implements org. Binds Transport to the specific host and port. |
| public TCPNIOServerConnection | bind(final SocketAddress socketAddress)
Implements org. Binds Transport to the specific SocketAddress. |
| public TCPNIOServerConnection | bind(final SocketAddress socketAddress, final int backlog)
Implements org. Binds Transport to the specific SocketAddress. |
| public TCPNIOServerConnection | bind(final String host, final PortRange portRange, final int backlog)
Implements org. Binds Transport to the specific host, and port within a |
| public TCPNIOServerConnection | 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 TCPNIOServerConnection | 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(final boolean isStandalone)
Implements org.
|
| public GrizzlyFuture | connect(final String
remote host to connect to. host, final 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(final SocketAddress
remote address to connect to. remoteAddress)Implements org. Creates, initializes and connects socket to the specific |
| public void | connect(final SocketAddress
remote address to connect to. remoteAddress, final CompletionHandler<Connection<L>> completionHandler)Implements org. Creates, initializes and connects socket to the specific |
| public GrizzlyFuture | connect(final SocketAddress
remote address to connect to. remoteAddress, final SocketAddress local address to bind socket to. localAddress)Implements org. Creates, initializes socket, binds it to the specific local and remote |
| public void | connect(final SocketAddress
remote address to connect to. remoteAddress, final SocketAddress local address to bind socket to. localAddress, final 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.
|
| private static void | failProcessingHandler(final IOEvent ioEvent, final Connection<L> connection, final IOEventLifeCycleListener processingHandler, final IOException e)
|
| 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 | |
| protected int | |
| public int | |
| public Reader | getReader(final Connection<L> connection)
Implements org. Get the |
| public Reader | getReader(final boolean isBlocking)
Implements org. Get the |
| public int | Returns: the default server connection backlog size.Get the default server connection backlog size. |
| 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 |
| public boolean | |
| public boolean | |
| protected void | |
| pack-priv void | |
| pack-priv TCPNIOConnection | |
| pack-priv TCPNIOServerConnection | |
| public Buffer | |
| private void | |
| public void | |
| public void | |
| public void | setServerConnectionBackLog(final int
the default server connection backlog size. serverConnectionBackLog)Set the default server connection backlog size. |
| public void | |
| public void | unbind(Connection<L> connection)
Implements org. Unbinds bound |
| public void | unbindAll()
Implements abstract org. Implements org. Unbinds all bound |
| public int | |
| public int | write(final TCPNIOConnection connection, final WritableMessage message, final WriteResult<K, L> currentResult)
|