|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectj_waste.network.SearchReplyPacketItem
This is the class for the Search packet type.
| Constructor Summary | |
SearchReplyPacketItem(int id,
int lengthLow,
int lengthHigh,
long lastModified,
java.lang.String replyName,
java.lang.String replyMetaData)
Constructs a new SearchReplyPacketItem with the specified id etc. |
|
| Method Summary | |
int |
getID()
Returns the id if this item. |
long |
getLastModified()
Returns the time of when this item was last modified. |
int |
getLengthHigh()
Returns the four high order bytes of length of this item. |
int |
getLengthLow()
Returns the four low order bytes of length of this item. |
int |
getNumBytes()
Returns the size of this item in the form of number of bytes. |
java.lang.String |
getReplyMetaData()
Returns the reply meta data of this item. |
java.lang.String |
getReplyName()
Returns the reply name of this item. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SearchReplyPacketItem(int id,
int lengthLow,
int lengthHigh,
long lastModified,
java.lang.String replyName,
java.lang.String replyMetaData)
id - The id for this item.lengthLow - The four lower bytes of the length of this file/directory.lengthHigh - The four higher bytes of the length of this
file/directory.lastModified - The time of when this file/directory was last
last modified.replyName - The reply name for this item.replyMetaData - The reply meta data for this item (if this item
is a directory then replyMetaData="Directory",
otherwise replyMetaData="").| Method Detail |
public int getID()
public int getLengthLow()
public int getLengthHigh()
public long getLastModified()
public java.lang.String getReplyName()
public java.lang.String getReplyMetaData()
public int getNumBytes()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||