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.p2p.past.rawserialization
Interface SocketStrategy

All Known Implementing Classes:
  DefaultSocketStrategy

    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.

Version:
  $Id: pretty.settings 2305 2005-03-11 20:22:33Z jeffh $
Author:
  Jeff Hoye

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

### TYPE_INSERT

    static final int TYPE_INSERT

  DESCRIBE THE FIELD

  See Also:
    Constant Field Values

### TYPE_FETCH

    static final int TYPE_FETCH

  DESCRIBE THE FIELD

  See Also:
    Constant Field Values

Method Detail

### sendAlongSocket

    boolean sendAlongSocket(int sendType,
                            PastContent content)

  Return true to send the content along a socket, false to send it as a message.

  Parameters:
    `sendType` - / the reason the content is being transmitted: TYPE_INSERT, TYPE_FETCH etc
    `content` -
  Returns:

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.