Skip navigation links
C E G H M O S 

C

ClientCallback - Interface in org.glassfish.grizzly.samples.connectionpool
The general callback interface to be used by a ClientFilter to delegate client Connection's event processing.
ClientFilter - Class in org.glassfish.grizzly.samples.connectionpool
The client Filter responsible for tracking the number of established client connections and passing server responses to the ClientCallback for 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 SocketAddress the 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 Connection is established.
onConnectionEstablished(Connection) - Method in class org.glassfish.grizzly.samples.connectionpool.MultiEndpointPoolSample
The callback operation will be executed once new client-side Connection is established.
onResponseReceived(Connection, String) - Method in interface org.glassfish.grizzly.samples.connectionpool.ClientCallback
The callback operation will be executed once a client Connection receives 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 Connection receives 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.
C E G H M O S 
Skip navigation links

Copyright © 2018 Oracle Corporation. All Rights Reserved.