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.aggregation.messaging
Class NonAggregate

    java.lang.Object
      rice.p2p.aggregation.messaging.NonAggregate

All Implemented Interfaces:
  java.io.Serializable, PastContent, RawPastContent

    public class NonAggregate

extends java.lang.Object
implements RawPastContent

Just wraps a header in Past to know that it is something other than an Aggregate

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

Field Summary
`RawPastContent` | `content` DESCRIBE THE FIELD
`static short` | `TYPE` DESCRIBE THE FIELD

Constructor Summary
`NonAggregate(InputBuffer buf, Endpoint endpoint, RawPastContent subContent, PastContentDeserializer pcd)` Constructor for NonAggregate.
`NonAggregate(PastContent content)` Constructor for NonAggregate.
`NonAggregate(RawPastContent subContent)` Constructor for NonAggregate.

Method Summary
`PastContent` | `checkInsert(Id id, PastContent existingContent)` DESCRIBE THE METHOD
`PastContentHandle` | `getHandle(Past local)` Gets the Handle attribute of the NonAggregate object
`Id` | `getId()` Gets the Id attribute of the NonAggregate object
`short` | `getType()` Raw Serialization **************************************
`boolean` | `isMutable()` Gets the Mutable attribute of the NonAggregate object
`void` | `serialize(OutputBuffer buf)` DESCRIBE THE METHOD

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### content

    public RawPastContent content

  DESCRIBE THE FIELD

### TYPE

    public static final short TYPE

  DESCRIBE THE FIELD

  See Also:
    Constant Field Values

Constructor Detail

### NonAggregate

    public NonAggregate(PastContent content)

  Constructor for NonAggregate.

  Parameters:
    `content` - DESCRIBE THE PARAMETER

### NonAggregate

    public NonAggregate(RawPastContent subContent)

  Constructor for NonAggregate.

  Parameters:
    `subContent` - DESCRIBE THE PARAMETER

### NonAggregate

    public NonAggregate(InputBuffer buf,
                        Endpoint endpoint,
                        RawPastContent subContent,
                        PastContentDeserializer pcd)
                 throws java.io.IOException

  Constructor for NonAggregate.

  Parameters:
    `buf` - DESCRIBE THE PARAMETER
    `endpoint` - DESCRIBE THE PARAMETER
    `subContent` - DESCRIBE THE PARAMETER
    `pcd` - DESCRIBE THE PARAMETER
  Throws:
    `java.io.IOException` - DESCRIBE THE EXCEPTION

Method Detail

### getHandle

    public PastContentHandle getHandle(Past local)

  Gets the Handle attribute of the NonAggregate object

  Specified by:
    `getHandle` in interface `PastContent`
  Parameters:
    `local` - DESCRIBE THE PARAMETER
  Returns:
    The Handle value

### getId

    public Id getId()

  Gets the Id attribute of the NonAggregate object

  Specified by:
    `getId` in interface `PastContent`
  Returns:
    The Id value

### isMutable

    public boolean isMutable()

  Gets the Mutable attribute of the NonAggregate object

  Specified by:
    `isMutable` in interface `PastContent`
  Returns:
    The Mutable value

### getType

    public short getType()

  Raw Serialization **************************************

  Specified by:
    `getType` in interface `RawPastContent`
  Returns:
    The Type value

### checkInsert

    public PastContent checkInsert(Id id,
                                   PastContent existingContent)
                            throws PastException

  DESCRIBE THE METHOD

  Specified by:
    `checkInsert` in interface `PastContent`
  Parameters:
    `id` - DESCRIBE THE PARAMETER
    `existingContent` - DESCRIBE THE PARAMETER
  Returns:
    DESCRIBE THE RETURN VALUE
  Throws:
    `PastException` - DESCRIBE THE EXCEPTION

### serialize

    public void serialize(OutputBuffer buf)
                   throws java.io.IOException

  DESCRIBE THE METHOD

  Specified by:
    `serialize` in interface `RawPastContent`
  Parameters:
    `buf` - DESCRIBE THE PARAMETER
  Throws:
    `java.io.IOException` - DESCRIBE THE EXCEPTION

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.