|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.resilientedge.jockey.peerbridge.PBNetManagerFactory
Handles basic peer network management; addition, removal, and retrieval of peer networks.
Method Summary | |
void |
addManagedNet(PBNet net,
PBNetManager manager)
Add the implementation for the designated peer network to this manager. |
static PBNetManagerFactory |
getInstance()
Returns the singleton instance |
PBNet[] |
getManagedNets()
Return the set of networks for which this factory has managers. |
PBNetManager |
getNetManager(PBNet net)
Retrieve a manager to handle a particular network type. |
void |
removeManagedNet(PBNet net)
Remove responsibility for a managed network from this manager. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static PBNetManagerFactory getInstance()
public PBNetManager getNetManager(PBNet net)
net
- the peer network of interestpublic void addManagedNet(PBNet net, PBNetManager manager)
net
- a PBNet
for which the factory is now
responsiblemanager
- the manager which manages the new networkpublic PBNet[] getManagedNets()
PBNet
spublic void removeManagedNet(PBNet net)
net
- a PBNet
for which the manager is no longer
responsible
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |