|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.resilientedge.jockey.peerbridge.LoopbackDirectory
A directory that provides browse capability for the loopback peer network.
Constructor Summary | |
LoopbackDirectory(LoopbackPeerGroup group)
Constructor. |
Method Summary | |
void |
createGroup(PBPeerGroup group)
Create a new peer group at the global (world-accessible) net group level. |
protected void |
deregisterApp(LoopbackApplication app)
Remove a previously registered app from the directory. |
protected void |
deregisterPeer(LoopbackPeer peer)
Remove a previously registered peer from the directory. |
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. |
protected void |
registerApp(LoopbackApplication app)
Save a new app to the directory. |
protected void |
registerPeer(LoopbackPeer peer)
Save a new peer to the directory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LoopbackDirectory(LoopbackPeerGroup group)
Method Detail |
public java.util.Vector findApps(int timeout)
findApps
in interface PBDirectory
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 Parameterprotected void registerApp(LoopbackApplication app)
group
- Description of Parameterprotected void deregisterApp(LoopbackApplication app)
group
- Description of Parameterprotected void registerPeer(LoopbackPeer peer)
group
- Description of Parameterprotected void deregisterPeer(LoopbackPeer peer)
group
- Description of Parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |