org.kth.dks.dks_dht
Class DHTResultMsg
java.lang.Object
org.kth.dks.dks_marshal.DKSMessage
org.kth.dks.dks_dht.DHTResultMsg
public class DHTResultMsg
- extends DKSMessage
|
Field Summary |
static java.lang.String |
NAME
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
DHTResultMsg
public DHTResultMsg()
DHTResultMsg
public DHTResultMsg(long id,
int r,
DKSObject[] pld)
DHTResultMsg
public DHTResultMsg(long id,
int r)
getName
public java.lang.String getName()
- Specified by:
getName in class DKSMessage
getPayload
public DKSObject[] getPayload()
getMsgId
public long getMsgId()
getResult
public int getResult()
marshal
public void marshal()
throws java.io.IOException
- Specified by:
marshal in class DKSMessage
- Throws:
java.io.IOException
unmarshal
public void unmarshal()
throws java.io.IOException
- Specified by:
unmarshal in class DKSMessage
- Throws:
java.io.IOException
Copyright © 2010. All Rights Reserved.