|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SocketStrategy
Past should send larger messages along the Applicaion Level Sockets to not interfere with Pastry's overlay maintenance, and other application traffic.
| Field Summary | |
|---|---|
static int |
TYPE_FETCH
DESCRIBE THE FIELD |
static int |
TYPE_INSERT
DESCRIBE THE FIELD |
| Method Summary | |
|---|---|
boolean |
sendAlongSocket(int sendType,
PastContent content)
Return true to send the content along a socket, false to send it as a message. |
| Field Detail |
|---|
static final int TYPE_INSERT
static final int TYPE_FETCH
| Method Detail |
|---|
boolean sendAlongSocket(int sendType,
PastContent content)
sendType - / the reason the content is being transmitted: TYPE_INSERT,
TYPE_FETCH etccontent -
|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||