|
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.NeverResponseStrategy<Identifier>
Identifier
- public class NeverResponseStrategy<Identifier>
Never send udp to the node.
Constructor Summary | |
---|---|
NeverResponseStrategy()
|
Method Summary | |
---|---|
void |
messageReceived(Identifier i,
java.nio.ByteBuffer msg,
java.util.Map<java.lang.String,java.lang.Object> options)
Called when a message is directly received from the Identifier |
void |
messageSent(Identifier i,
java.nio.ByteBuffer msg,
java.util.Map<java.lang.String,java.lang.Object> options)
Called when a message is directly sent to the Identifier |
boolean |
sendDirect(Identifier i,
java.nio.ByteBuffer msg,
java.util.Map<java.lang.String,java.lang.Object> options)
True if we believe the firewall will accept the message (due to a recent message from the node) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NeverResponseStrategy()
Method Detail |
---|
public void messageReceived(Identifier i, java.nio.ByteBuffer msg, java.util.Map<java.lang.String,java.lang.Object> options)
ResponseStrategy
messageReceived
in interface ResponseStrategy<Identifier>
public void messageSent(Identifier i, java.nio.ByteBuffer msg, java.util.Map<java.lang.String,java.lang.Object> options)
ResponseStrategy
messageSent
in interface ResponseStrategy<Identifier>
public boolean sendDirect(Identifier i, java.nio.ByteBuffer msg, java.util.Map<java.lang.String,java.lang.Object> options)
ResponseStrategy
sendDirect
in interface ResponseStrategy<Identifier>
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |