org.resilientedge.jockey.peerbridge
Interface PBEntityManager

All Known Implementing Classes:
LoopbackEntityManager, SimpSockEntityManager

public interface PBEntityManager

This is a cache manager object that remembers entities discovered on the network, so that they can be referenced later.

Version:
$Revision: 1.1.1.1 $
Author:
John Gardner

Method Summary
 PBApplication locateAppByToken(AppToken appToken)
          Return a reference to the app identified by the given token.
 PBPeer locatePeerByToken(PeerToken peerToken)
          Return a reference to the peer identified by the given token.
 PBPeerGroup locatePeerGroupByToken(PeerGroupToken groupToken)
          Return a reference to the peer group identified by the given token.
 

Method Detail

locateAppByToken

public PBApplication locateAppByToken(AppToken appToken)
Return a reference to the app identified by the given token.
Parameters:
appToken - token for the desired app
Returns:
reference to the real app

locatePeerByToken

public PBPeer locatePeerByToken(PeerToken peerToken)
Return a reference to the peer identified by the given token.
Parameters:
peerToken - token for the desired peer
Returns:
reference to the real peer

locatePeerGroupByToken

public PBPeerGroup locatePeerGroupByToken(PeerGroupToken groupToken)
Return a reference to the peer group identified by the given token.
Parameters:
groupToken - token for the desired peer group
Returns:
reference to the real peer group


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