|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.resilientedge.jockey.peerbridge.SimpSockDirectory
A directory that provides browse capability for the loopback peer network.
Constructor Summary | |
SimpSockDirectory(SimpSockPeerGroup group,
SimpSockConnector connector)
Constructor. |
Method Summary | |
void |
createGroup(PBPeerGroup group)
Create a new peer group at the global (world-accessible) net group level. |
Response |
doCall(Request req)
Handle a request |
void |
doVoidCall(Request req)
Handle a request which won't receive a response. |
java.util.Vector |
findApps(int timeout)
Locate apps on the network, until a time limit is reached. |
PBFindMarker |
findAppsAsync(int timeout)
Locate apps on the network, asynchronously, until a time limit is reached. |
java.util.Vector |
findGroups(int timeout)
Locate groups on the network, until a time limit is reached. |
PBFindMarker |
findGroupsAsync(int timeout)
Locate groups on the network, asynchronously, until a time limit is reached. |
java.util.Vector |
findPeers(int timeout)
Locate peers on the network, until a time limit is reached. |
PBFindMarker |
findPeersAsync(int timeout)
Locate peers on the network, asynchronously, until a time limit is reached. |
java.lang.String |
getRequesteeName()
Return the name by which this listener can be identified. |
Response |
remoteFindApps(int timeout)
Locate apps on the network, until a time limit is reached. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SimpSockDirectory(SimpSockPeerGroup group, SimpSockConnector connector)
Method Detail |
public java.util.Vector findApps(int timeout)
findApps
in interface PBDirectory
timeout
- number of seconds to look for appspublic Response remoteFindApps(int timeout)
timeout
- number of seconds to look for appspublic PBFindMarker findAppsAsync(int timeout)
findAppsAsync
in interface PBDirectory
timeout
- number of seconds to look for appspublic java.util.Vector findPeers(int timeout)
findPeers
in interface PBDirectory
timeout
- number of seconds to look for peerspublic PBFindMarker findPeersAsync(int timeout)
findPeersAsync
in interface PBDirectory
timeout
- number of seconds to look for peerspublic java.util.Vector findGroups(int timeout)
findGroups
in interface PBDirectory
timeout
- number of seconds to look for groupspublic PBFindMarker findGroupsAsync(int timeout)
findGroupsAsync
in interface PBDirectory
timeout
- number of seconds to look for groupspublic void createGroup(PBPeerGroup group)
createGroup
in interface PBDirectory
group
- Description of Parameterpublic java.lang.String getRequesteeName()
getRequesteeName
in interface SimpSockRequestListener
public Response doCall(Request req)
doCall
in interface SimpSockRequestListener
req
- the request to handlepublic void doVoidCall(Request req)
doVoidCall
in interface SimpSockRequestListener
req
- the request to handle
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |