Rice Pastry API

rice.p2p.aggregation.raw
Class RawAggregate

java.lang.Object
  extended byrice.p2p.aggregation.Aggregate
      extended byrice.p2p.aggregation.raw.RawAggregate
All Implemented Interfaces:
GCPastContent, PastContent, RawGCPastContent, RawPastContent, java.io.Serializable

public class RawAggregate
extends Aggregate
implements RawGCPastContent

DESCRIBE THE CLASS

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

Field Summary
static short TYPE
          DESCRIBE THE FIELD
 
Fields inherited from class rice.p2p.aggregation.Aggregate
components, myId, pointers
 
Constructor Summary
RawAggregate(GCPastContent[] components, Id[] pointers)
          Constructor for RawAggregate.
RawAggregate(InputBuffer buf, Endpoint endpoint, PastContentDeserializer contentDeserializer)
          Constructor for RawAggregate.
RawAggregate(RawGCPastContent[] components, Id[] pointers)
          Constructor for RawAggregate.
 
Method Summary
 byte[] getContentHash()
          Gets the ContentHash attribute of the RawAggregate object
 short getType()
          Raw Serialization **************************************
 int numComponents()
          DESCRIBE THE METHOD
 void serialize(OutputBuffer buf)
          DESCRIBE THE METHOD
 
Methods inherited from class rice.p2p.aggregation.Aggregate
checkInsert, getComponent, getHandle, getHandle, getId, getMetadata, getPointers, getVersion, isMutable, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface rice.p2p.past.gc.GCPastContent
getHandle, getMetadata, getVersion
 
Methods inherited from interface rice.p2p.past.PastContent
checkInsert, getHandle, getId, isMutable
 

Field Detail

TYPE

public static final short TYPE
DESCRIBE THE FIELD

See Also:
Constant Field Values
Constructor Detail

RawAggregate

public RawAggregate(GCPastContent[] components,
                    Id[] pointers)
Constructor for RawAggregate.

Parameters:
components - DESCRIBE THE PARAMETER
pointers - DESCRIBE THE PARAMETER

RawAggregate

public RawAggregate(RawGCPastContent[] components,
                    Id[] pointers)
Constructor for RawAggregate.

Parameters:
components - DESCRIBE THE PARAMETER
pointers - DESCRIBE THE PARAMETER

RawAggregate

public RawAggregate(InputBuffer buf,
                    Endpoint endpoint,
                    PastContentDeserializer contentDeserializer)
             throws java.io.IOException
Constructor for RawAggregate.

Parameters:
buf - DESCRIBE THE PARAMETER
endpoint - DESCRIBE THE PARAMETER
contentDeserializer - DESCRIBE THE PARAMETER
Throws:
java.io.IOException - DESCRIBE THE EXCEPTION
Method Detail

getContentHash

public byte[] getContentHash()
Gets the ContentHash attribute of the RawAggregate object

Overrides:
getContentHash in class Aggregate
Returns:
The ContentHash value

getType

public short getType()
Raw Serialization **************************************

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

numComponents

public int numComponents()
DESCRIBE THE METHOD

Overrides:
numComponents in class Aggregate
Returns:
DESCRIBE THE RETURN VALUE

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

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection