|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An interface implemented by classes that maintain connections between peer and rendezvous.
| Method Summary | |
void |
dispose()
Dispose the connection manager |
java.lang.String[] |
getConnectedRendezvous()
|
int |
getCurrentRendezvousConnections()
|
RendezvousAdvertisement |
getRendezvousAdvertisement()
|
int |
getRequiredRendezvousConnections()
|
void |
init()
Initializes the connection manager |
void |
initConnection(RendezvousAdvertisement advert)
Initialize a connection to the specified rendezvous |
boolean |
isRendezvousConnectionRequired()
|
void |
send(Advertisement advert)
Send an advertisement to all the rendezvous to which the peer is connected, and adds the advertisement to the rendezvous cache (if applicable) |
| Method Detail |
public void init()
throws java.io.IOException
java.io.IOExceptionpublic RendezvousAdvertisement getRendezvousAdvertisement()
public boolean isRendezvousConnectionRequired()
public int getRequiredRendezvousConnections()
public int getCurrentRendezvousConnections()
public java.lang.String[] getConnectedRendezvous()
public void initConnection(RendezvousAdvertisement advert)
throws InitializationException,
java.io.IOException
InitializationException
java.io.IOException
public void send(Advertisement advert)
throws java.io.IOException
java.io.IOExceptionpublic void dispose()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||