Rice Pastry API

org.mpisws.p2p.transport.rendezvous
Interface RendezvousContact

All Known Implementing Classes:
RendezvousSocketNodeHandle

public interface RendezvousContact


Method Summary
 boolean canContactDirect()
           
 boolean isConnected()
          return True if isAlive() and canContactDirect() or we already have a direct connection on the third party channel.
 

Method Detail

canContactDirect

boolean canContactDirect()
Returns:
true if an internet routable IP; false if NATted and no port forwarding, or other type FireWall.

isConnected

boolean isConnected()
return True if isAlive() and canContactDirect() or we already have a direct connection on the third party channel. False otherwise. Note that this is true if we have a primary socket opened in PriorityTL

Returns:

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection