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.glacier.v2.messaging
Class GlacierQueryMessage

    java.lang.Object
      rice.p2p.glacier.v2.messaging.GlacierMessage
          rice.p2p.glacier.v2.messaging.GlacierQueryMessage

All Implemented Interfaces:
  java.io.Serializable, Message, RawMessage

    public class GlacierQueryMessage

extends GlacierMessage

DESCRIBE THE CLASS

Version:
  $Id: GlacierQueryMessage.java 3274 2006-05-15 16:17:47Z jeffh $
Author:
  ahae
See Also:
  Serialized Form

Field Summary
`protected FragmentKey[]` | `keys` DESCRIBE THE FIELD
`static short` | `TYPE` DESCRIBE THE FIELD

Fields inherited from class rice.p2p.glacier.v2.messaging.GlacierMessage
`dest, id, isResponse, source, tag`

Fields inherited from interface rice.p2p.commonapi.Message
`HIGH_PRIORITY, LOW_PRIORITY, MAX_PRIORITY, MEDIUM_HIGH_PRIORITY, MEDIUM_LOW_PRIORITY, MEDIUM_PRIORITY`

Constructor Summary
`GlacierQueryMessage(int uid, FragmentKey[] keys, NodeHandle source, Id dest, char tag)` Constructor for GlacierQueryMessage.

Method Summary
`static GlacierQueryMessage` | `build(InputBuffer buf, Endpoint endpoint)` DESCRIBE THE METHOD
`FragmentKey` | `getKey(int index)` Gets the Key attribute of the GlacierQueryMessage object
`short` | `getType()` Raw Serialization **************************************
`int` | `numKeys()` DESCRIBE THE METHOD
`void` | `serialize(OutputBuffer buf)` DESCRIBE THE METHOD
`java.lang.String` | `toString()` Converts to a String representation of the object.

Methods inherited from class rice.p2p.glacier.v2.messaging.GlacierMessage
`getDestination, getPriority, getSource, getTag, getUID, isResponse`

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

Field Detail

### keys

    protected FragmentKey[] keys

  DESCRIBE THE FIELD

### TYPE

    public static final short TYPE

  DESCRIBE THE FIELD

  See Also:
    Constant Field Values

Constructor Detail

### GlacierQueryMessage

    public GlacierQueryMessage(int uid,
                               FragmentKey[] keys,
                               NodeHandle source,
                               Id dest,
                               char tag)

  Constructor for GlacierQueryMessage.

  Parameters:
    `uid` - DESCRIBE THE PARAMETER
    `keys` - DESCRIBE THE PARAMETER
    `source` - DESCRIBE THE PARAMETER
    `dest` - DESCRIBE THE PARAMETER
    `tag` - DESCRIBE THE PARAMETER

Method Detail

### getKey

    public FragmentKey getKey(int index)

  Gets the Key attribute of the GlacierQueryMessage object

  Parameters:
    `index` - DESCRIBE THE PARAMETER
  Returns:
    The Key value

### getType

    public short getType()

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

  Returns:
    The Type value

### numKeys

    public int numKeys()

  DESCRIBE THE METHOD

  Returns:
    DESCRIBE THE RETURN VALUE

### toString

    public java.lang.String toString()

  Converts to a String representation of the object.

  Overrides:
    `toString` in class `java.lang.Object`
  Returns:
    A string representation of the object.

### serialize

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

  DESCRIBE THE METHOD

  Specified by:
    `serialize` in interface `RawMessage`
  Overrides:
    `serialize` in class `GlacierMessage`
  Parameters:
    `buf` - DESCRIBE THE PARAMETER
  Throws:
    `java.io.IOException` - DESCRIBE THE EXCEPTION

### build

    public static GlacierQueryMessage build(InputBuffer buf,
                                            Endpoint endpoint)
                                     throws java.io.IOException

  DESCRIBE THE METHOD

  Parameters:
    `buf` - DESCRIBE THE PARAMETER
    `endpoint` - DESCRIBE THE PARAMETER
  Returns:
    DESCRIBE THE RETURN VALUE
  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.