|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectshaohua_project.sweep.routing.MessageQueryP2P
public class MessageQueryP2P
DataP2P packet.
| Field Summary | |
|---|---|
Query |
query
|
long |
sequenceNumber
|
NetAddress |
snkIP
|
| Fields inherited from interface jist.swans.misc.Message |
|---|
NULL |
| Constructor Summary | |
|---|---|
MessageQueryP2P(Query query,
NetAddress snkIP)
|
|
| Method Summary | |
|---|---|
void |
getBytes(byte[] b,
int offset)
Store packet into byte array. |
int |
getSize()
Return packet size or Constants.ZERO_WIRE_SIZE. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final Query query
public final NetAddress snkIP
public final long sequenceNumber
| Constructor Detail |
|---|
public MessageQueryP2P(Query query,
NetAddress snkIP)
| Method Detail |
|---|
public int getSize()
getSize in interface Message
public void getBytes(byte[] b,
int offset)
getBytes in interface Messageb - destination byte arrayoffset - byte array starting offset
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||