org.kth.dks.dks_dht
Class DHTResultMsg

java.lang.Object
  extended by org.kth.dks.dks_marshal.DKSMessage
      extended by org.kth.dks.dks_dht.DHTResultMsg

public class DHTResultMsg
extends DKSMessage


Field Summary
static java.lang.String NAME
           
 
Fields inherited from class org.kth.dks.dks_marshal.DKSMessage
ele, eleCnt, marshaler, messageMap, messageMapUnsync, pCount, xmsg
 
Constructor Summary
DHTResultMsg()
           
DHTResultMsg(long id, int r)
           
DHTResultMsg(long id, int r, DKSObject[] pld)
           
 
Method Summary
 long getMsgId()
           
 java.lang.String getName()
           
 DKSObject[] getPayload()
           
 int getResult()
           
 void marshal()
           
 void unmarshal()
           
 
Methods inherited from class org.kth.dks.dks_marshal.DKSMessage
addMessageType, addMessageTypePrefixed, flatten, getRecvRef, getSendRef, setRecvRef, setSendRef, unmarshal, unmarshal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values
Constructor Detail

DHTResultMsg

public DHTResultMsg()

DHTResultMsg

public DHTResultMsg(long id,
                    int r,
                    DKSObject[] pld)

DHTResultMsg

public DHTResultMsg(long id,
                    int r)
Method Detail

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.