Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## rice.pastry.socket.nat.rendezvous
Class RendezvousContactDirectStrategy

    java.lang.Object
      rice.pastry.socket.nat.rendezvous.RendezvousContactDirectStrategy

All Implemented Interfaces:
  ContactDirectStrategy<RendezvousSocketNodeHandle>

    public class RendezvousContactDirectStrategy

extends java.lang.Object
implements ContactDirectStrategy<RendezvousSocketNodeHandle>

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

### RendezvousContactDirectStrategy

    public RendezvousContactDirectStrategy(RendezvousSocketNodeHandle localNodeHandle,
                                           AddressStrategy addressStrategy,
                                           Environment environment)

Method Detail

### canContactDirect

    public 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

  Specified by:
    `canContactDirect` in interface `ContactDirectStrategy<RendezvousSocketNodeHandle>`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2005 - Rice Pastry.