org.resilientedge.jockey.peerbridge
Interface PBDirectory

All Known Implementing Classes:
LoopbackDirectory, PBAbstractDirectory, SimpSockDirectory

public interface PBDirectory

A directory that provides browse capability for a peer network.

Version:
$Revision: 1.1.1.1 $
Author:
John Gardner

Method Summary
 void createGroup(PBPeerGroup group)
          Create a new peer group at the global (world-accessible) net group level.
 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.
 

Method Detail

findApps

public java.util.Vector findApps(int timeout)
Locate apps on the network, until a time limit is reached.
Parameters:
timeout - number of seconds to look for apps
Returns:
Description of the Returned Value

findAppsAsync

public PBFindMarker findAppsAsync(int timeout)
Locate apps on the network, asynchronously, until a time limit is reached.
Parameters:
timeout - number of seconds to look for apps
Returns:
marker representing the find attempt

findPeers

public java.util.Vector findPeers(int timeout)
Locate peers on the network, until a time limit is reached.
Parameters:
timeout - number of seconds to look for peers
Returns:
Description of the Returned Value

findPeersAsync

public PBFindMarker findPeersAsync(int timeout)
Locate peers on the network, asynchronously, until a time limit is reached.
Parameters:
timeout - number of seconds to look for peers
Returns:
marker representing the find attempt

findGroups

public java.util.Vector findGroups(int timeout)
Locate groups on the network, until a time limit is reached.
Parameters:
timeout - number of seconds to look for groups
Returns:
Description of the Returned Value

findGroupsAsync

public PBFindMarker findGroupsAsync(int timeout)
Locate groups on the network, asynchronously, until a time limit is reached.
Parameters:
timeout - number of seconds to look for groups
Returns:
marker representing the find attempt

createGroup

public void createGroup(PBPeerGroup group)
Create a new peer group at the global (world-accessible) net group level.
Parameters:
group - Description of Parameter


Copyright © 2001 Resilient Edge, Inc. All Rights Reserved.