|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.pastry.socket.nat.rendezvous.RendezvousContactDirectStrategy
public class RendezvousContactDirectStrategy
Constructor Summary | |
---|---|
RendezvousContactDirectStrategy(RendezvousSocketNodeHandle localNodeHandle,
AddressStrategy addressStrategy,
Environment environment)
|
Method Summary | |
---|---|
boolean |
canContactDirect(RendezvousSocketNodeHandle remoteNode)
Return true if they're behind the same firewall If the address I should use to contact the node is the same as his internal address |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RendezvousContactDirectStrategy(RendezvousSocketNodeHandle localNodeHandle, AddressStrategy addressStrategy, Environment environment)
Method Detail |
---|
public boolean canContactDirect(RendezvousSocketNodeHandle remoteNode)
canContactDirect
in interface ContactDirectStrategy<RendezvousSocketNodeHandle>
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |