|
Oracle® Coherence Java API Reference v3.5.3 E15583-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.tangosol.util.Base
com.tangosol.util.Daemon
com.tangosol.net.LoadBalancer.SocketHandler
com.tangosol.net.LoadBalancer.ResponseHandler
public class LoadBalancer.ResponseHandler
A ResponseHandler is a daemon thread that processes an outgoing response from a destination server.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.tangosol.util.Daemon |
|---|
Daemon.DaemonWorker |
| Field Summary | |
|---|---|
protected LoadBalancer.RequestHandler |
m_daemonRequest
The RequestHandler that this ResponseHandler belongs to. |
protected java.net.Socket |
m_socketClient
The Socket to write the response to. |
protected java.net.Socket |
m_socketServer
The Socket to read the response from. |
| Fields inherited from class com.tangosol.net.LoadBalancer.SocketHandler |
|---|
m_abBuf |
| Constructor Summary | |
|---|---|
LoadBalancer.ResponseHandler(LoadBalancer.RequestHandler daemonRequest)
Construct a ResponseHandler that belongs to the specified RequestHandler. |
|
| Method Summary | |
|---|---|
void |
relayResponse(java.net.Socket socketServer,
java.net.Socket socketClient)
This method is used to assign a task to the ResponseHandler thread from the RequestHandler thread. |
void |
run()
Processing loop for the ResponseHandler daemon. |
| Methods inherited from class com.tangosol.net.LoadBalancer.SocketHandler |
|---|
copy, ensureBuffer, process |
| Field Detail |
|---|
protected LoadBalancer.RequestHandler m_daemonRequest
protected java.net.Socket m_socketServer
protected java.net.Socket m_socketClient
| Constructor Detail |
|---|
public LoadBalancer.ResponseHandler(LoadBalancer.RequestHandler daemonRequest)
daemonRequest - the RequestHandler that this ResponseHandler
belongs to| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablerun in class LoadBalancer.SocketHandler
public void relayResponse(java.net.Socket socketServer,
java.net.Socket socketClient)
socketServer - the socket to copy fromsocketClient - the socket to copy to
|
Oracle® Coherence Java API Reference v3.5.3 E15583-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||