|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.p2p.past.rawserialization.DefaultSocketStrategy
A SocketStrategy that always returns the same answer.
Field Summary |
Fields inherited from interface rice.p2p.past.rawserialization.SocketStrategy |
TYPE_FETCH, TYPE_INSERT |
Constructor Summary | |
DefaultSocketStrategy(boolean answer)
Constructor for DefaultSocketStrategy. |
Method Summary | |
boolean |
sendAlongSocket(int sendType,
PastContent content)
DESCRIBE THE METHOD |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultSocketStrategy(boolean answer)
answer
- DESCRIBE THE PARAMETERMethod Detail |
public boolean sendAlongSocket(int sendType, PastContent content)
sendAlongSocket
in interface SocketStrategy
sendType
- DESCRIBE THE PARAMETERcontent
- DESCRIBE THE PARAMETER
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |