org.kth.dks.dks_dht
Class ChangeItemMsg

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

public class ChangeItemMsg
extends DKSMessage


Field Summary
 int index
           
 long key
           
static java.lang.String NAME
           
 DKSObject newPayload
           
 DKSObject oldPayload
           
 
Fields inherited from class org.kth.dks.dks_marshal.DKSMessage
ele, eleCnt, marshaler, messageMap, messageMapUnsync, pCount, xmsg
 
Constructor Summary
ChangeItemMsg()
           
ChangeItemMsg(long id, int i, DKSObject oldpld, DKSObject newpld)
           
 
Method Summary
 long getMsgId()
           
 java.lang.String getName()
           
 DKSObject getNewPayLoad()
           
 DKSObject getOldPayLoad()
           
 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

oldPayload

public DKSObject oldPayload

newPayload

public DKSObject newPayload

key

public long key

index

public int index
Constructor Detail

ChangeItemMsg

public ChangeItemMsg()

ChangeItemMsg

public ChangeItemMsg(long id,
                     int i,
                     DKSObject oldpld,
                     DKSObject newpld)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in class DKSMessage

getOldPayLoad

public DKSObject getOldPayLoad()

getNewPayLoad

public DKSObject getNewPayLoad()

getMsgId

public long getMsgId()

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.