|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.resilientedge.jockey.peerbridge.SimpSockNetManager
Implements a PBNetManager that connects to a loopback peer network. This "peer network" consists of only this peer and all messages go back to this peer.
| Constructor Summary | |
SimpSockNetManager()
|
|
| Method Summary | |
PBApplication |
createApplication(AppDescriptor descriptor,
Authority[] authorities)
Returns a PBApplication object |
SimpSockConnector |
getConnector()
Return the connector that allows this peer to communicate with others. |
PBEntityManager |
getEntityManager()
Return an entitymanager that stores known peers from the peer network. |
PBNet |
getNetwork()
Returns a PBNetwork describing the type of network that this
manager supports. |
PBPeer |
getThisPeer()
Returns a PBPeer that represents this entity. |
PBPeerGroup |
getWorldGroup()
Returns a reference to the default group that contains all peer entities. |
void |
init()
Initialize the net manager. |
void |
removeApplication(PBApplication app)
Remove an application |
void |
shutdown()
Shutdown the net manager. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SimpSockNetManager()
| Method Detail |
public void init()
init in interface PBNetManagerpublic void shutdown()
shutdown in interface PBNetManagerpublic PBPeerGroup getWorldGroup()
getWorldGroup in interface PBNetManagerpublic PBEntityManager getEntityManager()
getEntityManager in interface PBNetManagerpublic PBNet getNetwork()
PBNetwork describing the type of network that this
manager supports.getNetwork in interface PBNetManagerpublic PBPeer getThisPeer()
PBPeer that represents this entity.getThisPeer in interface PBNetManager
public PBApplication createApplication(AppDescriptor descriptor,
Authority[] authorities)
PBApplication objectcreateApplication in interface PBNetManagerdescriptor - a descriptor submitted by the application to describe
itselfpublic void removeApplication(PBApplication app)
removeApplication in interface PBNetManagerpublic SimpSockConnector getConnector()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||