Rice Pastry API

rice.p2p.glacier.v2.messaging
Class GlacierQueryMessage

java.lang.Object
  extended byrice.p2p.glacier.v2.messaging.GlacierMessage
      extended byrice.p2p.glacier.v2.messaging.GlacierQueryMessage
All Implemented Interfaces:
Message, java.io.Serializable

public class GlacierQueryMessage
extends GlacierMessage

DESCRIBE THE CLASS

Version:
$Id: GlacierQueryMessage.java 1902 2004-08-03 02:33:12Z ahae $
Author:
ahae
See Also:
Serialized Form

Field Summary
protected  FragmentKey[] keys
          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, 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
 FragmentKey getKey(int index)
          Gets the Key attribute of the GlacierQueryMessage object
 int numKeys()
          DESCRIBE THE METHOD
 java.lang.String toString()
          DESCRIBE THE METHOD
 
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

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

numKeys

public int numKeys()
DESCRIBE THE METHOD

Returns:
DESCRIBE THE RETURN VALUE

toString

public java.lang.String toString()
DESCRIBE THE METHOD

Returns:
DESCRIBE THE RETURN VALUE

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection