Index
All Classes and Interfaces|All Packages
C
- ClientCallback - Interface in org.glassfish.grizzly.samples.connectionpool
-
The general callback interface to be used by a
ClientFilterto delegate clientConnection's event processing. - ClientFilter - Class in org.glassfish.grizzly.samples.connectionpool
-
The client
Filterresponsible for tracking the number of established client connections and passing server responses to theClientCallbackfor appropriate accounting. - ClientFilter(ClientCallback) - Constructor for class org.glassfish.grizzly.samples.connectionpool.ClientFilter
E
- EchoServer - Class in org.glassfish.grizzly.samples.connectionpool
-
The simple echo server implementation, which is used to test client-side connection pool.
- EchoServer(SocketAddress) - Constructor for class org.glassfish.grizzly.samples.connectionpool.EchoServer
- exec() - Method in class org.glassfish.grizzly.samples.connectionpool.MultiEndpointPoolSample
G
- getEndpointAddress() - Method in class org.glassfish.grizzly.samples.connectionpool.EchoServer
-
Returns the
SocketAddressthe server is bound to.
H
- handleConnect(FilterChainContext) - Method in class org.glassfish.grizzly.samples.connectionpool.ClientFilter
- handleRead(FilterChainContext) - Method in class org.glassfish.grizzly.samples.connectionpool.ClientFilter
M
- main(String[]) - Static method in class org.glassfish.grizzly.samples.connectionpool.MultiEndpointPoolSample
- MultiEndpointPoolSample - Class in org.glassfish.grizzly.samples.connectionpool
-
The sample to demonstrate how Grizzly client-side connection pool could be used in multi-threaded application in asynchronous/non-blocking fashion.
- MultiEndpointPoolSample() - Constructor for class org.glassfish.grizzly.samples.connectionpool.MultiEndpointPoolSample
O
- onConnectionEstablished(Connection) - Method in interface org.glassfish.grizzly.samples.connectionpool.ClientCallback
-
The callback operation will be executed once new client-side
Connectionis established. - onConnectionEstablished(Connection) - Method in class org.glassfish.grizzly.samples.connectionpool.MultiEndpointPoolSample
-
The callback operation will be executed once new client-side
Connectionis established. - onResponseReceived(Connection, String) - Method in interface org.glassfish.grizzly.samples.connectionpool.ClientCallback
-
The callback operation will be executed once a client
Connectionreceives response from a server. - onResponseReceived(Connection, String) - Method in class org.glassfish.grizzly.samples.connectionpool.MultiEndpointPoolSample
-
The callback operation will be executed once a client
Connectionreceives response from a server. - org.glassfish.grizzly.samples.connectionpool - package org.glassfish.grizzly.samples.connectionpool
S
- start() - Method in class org.glassfish.grizzly.samples.connectionpool.EchoServer
-
Starts the server.
- stop() - Method in class org.glassfish.grizzly.samples.connectionpool.EchoServer
-
Stops the server.
All Classes and Interfaces|All Packages