|
Calypso Gateway v1.0 | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--codec.server.ServantRequestPool
Class responsible for managing the replies from Servers after performing asynchronous invocation requests. It is running in a separate thread, constantly checking responses from all registered requests. Once response is obtained, it delegates its further processing to ServerPool.
Field Summary | |
private java.util.Set |
requests
|
private java.lang.Boolean |
requestUnlock
The field is for notifying the main class thread that new request is to be registered. |
Fields inherited from class java.lang.Thread |
contextClassLoader,
daemon,
eetop,
group,
inheritedAccessControlContext,
MAX_PRIORITY,
MIN_PRIORITY,
name,
NORM_PRIORITY,
priority,
single_step,
stillborn,
stopThreadPermission,
target,
threadInitNumber,
threadQ,
values |
Constructor Summary | |
ServantRequestPool()
|
Method Summary | |
void |
register(ServantRequest request)
Register the request object. |
void |
run()
Class core checking for the operation responses from registered requests. |
Methods inherited from class java.lang.Thread |
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
private java.util.Set requests
private volatile java.lang.Boolean requestUnlock
Constructor Detail |
public ServantRequestPool()
Method Detail |
public void register(ServantRequest request)
public void run()
|
Calypso Gateway v1.0 | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |