|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucr.core.ServerSession
Session that can be used to respond to Query messages and receive Push messages
Field Summary | |
private MessageReceiver |
receiver
|
private Router |
router
|
Constructor Summary | |
(package private) |
ServerSession(Router router,
MessageReceiver receiver)
Constructs the FileServerSession , not visible
to application |
Method Summary | |
void |
close()
Closes the session |
void |
queryHit(GUID requestGUID,
SearchReplyMessage response)
An application should call queryHit to indicate
that the applicatio's node is in ther route of the Query |
void |
traceHit(GUID requestGUID,
TraceReplyMessage response)
An application should call traceHit to indicate
that the applicatio's node is in ther route of the Query |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private Router router
private MessageReceiver receiver
Constructor Detail |
ServerSession(Router router, MessageReceiver receiver)
FileServerSession
, not visible
to application
Method Detail |
public void close()
public void traceHit(GUID requestGUID, TraceReplyMessage response)
traceHit
to indicate
that the applicatio's node is in ther route of the Query
requestGUID
- the trace message initiated at this noderesponse
- public void queryHit(GUID requestGUID, SearchReplyMessage response)
queryHit
to indicate
that the applicatio's node is in ther route of the Query
requestGUID
- search message which has a hitresponse
- hit information
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |