Project JXTA

net.jxta.protocol
Class SrdiMessage.Entry

java.lang.Object
  extended bynet.jxta.protocol.SrdiMessage.Entry
Enclosing class:
SrdiMessage

public static final class SrdiMessage.Entry
extends Object

Entries object, which describes each entry described by this message


Field Summary
 long expiration
          Entry Expiration expressed in relative time in ms
 String key
          Entry key attribute
 String value
          Entry key value
 
Constructor Summary
SrdiMessage.Entry(String key, String value, long expiration)
          Creates a Entry with key, value, and expiration
 
Method Summary
 boolean equals(Object target)
          

Expiration time is not considered in calculation.

 int hashCode()
          

Expiration time is not considered in calculation.

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

Field Detail

expiration

public long expiration
Entry Expiration expressed in relative time in ms


key

public String key
Entry key attribute


value

public String value
Entry key value

Constructor Detail

SrdiMessage.Entry

public SrdiMessage.Entry(String key,
                         String value,
                         long expiration)
Creates a Entry with key, value, and expiration

Parameters:
key - key attribute
value - key value
expiration - expressed in relative time in ms
Method Detail

equals

public boolean equals(Object target)

Expiration time is not considered in calculation.


hashCode

public int hashCode()

Expiration time is not considered in calculation.


JXTA J2SE