org.resilientedge.jockey.peerbridge
Class PBAbstractDirectory

java.lang.Object
  |
  +--org.resilientedge.jockey.peerbridge.PBAbstractDirectory
All Implemented Interfaces:
PBDirectory

public abstract class PBAbstractDirectory
extends java.lang.Object
implements PBDirectory

Provides peer/peer group discovery. This is the base implementation of a PBDirectory.

Version:
$Revision: 1.1.1.1 $
Author:
John Gardner

Constructor Summary
PBAbstractDirectory()
           
 
Method Summary
abstract  void createGroup(PBPeerGroup group)
          Create a new peer group at the global (world-accessible) net group level.
abstract  java.util.Vector findGroups(int timeout)
          Locate groups on the network, until a time limit is reached.
abstract  PBFindMarker findGroupsAsync(int timeout)
          Locate groups on the network, asynchronously, until a time limit is reached.
abstract  java.util.Vector findPeers(int timeout)
          Locate peers on the network, until a time limit is reached.
abstract  PBFindMarker findPeersAsync(int timeout)
          Locate peers on the network, asynchronously, until a time limit is reached.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.resilientedge.jockey.peerbridge.PBDirectory
findApps, findAppsAsync
 

Constructor Detail

PBAbstractDirectory

public PBAbstractDirectory()
Method Detail

findPeers

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

findPeersAsync

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

findGroups

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

findGroupsAsync

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

createGroup

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


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