org.kth.dks.dks_marshal
Class LookupMsg
java.lang.Object
org.kth.dks.dks_marshal.DKSMessage
org.kth.dks.dks_marshal.LookupMsg
- All Implemented Interfaces:
- ForwardedMsgInterface
public class LookupMsg
- extends DKSMessage
- implements ForwardedMsgInterface
|
Constructor Summary |
LookupMsg()
|
LookupMsg(long target,
LookupType type,
DKSRef source,
DKSRef start,
DKSObject payload,
java.lang.String msgId,
boolean intern)
|
LookupMsg(long target,
LookupType type,
DKSRef source,
DKSRef start,
java.lang.String msgId,
boolean intern)
Warning! |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LookupMsg
public LookupMsg()
LookupMsg
public LookupMsg(long target,
LookupType type,
DKSRef source,
DKSRef start,
java.lang.String msgId,
boolean intern)
- Warning! No defensive copying done for performance reasons!
- Parameters:
target - long target identifier to search forstart - start of the interval of the pointer followedtype - String currently either "ADDR" or "DATA"stack - Vector of visited nodessource - DKSRef originatormsgId - String request identifier
LookupMsg
public LookupMsg(long target,
LookupType type,
DKSRef source,
DKSRef start,
DKSObject payload,
java.lang.String msgId,
boolean intern)
getName
public java.lang.String getName()
- Specified by:
getName in class DKSMessage
getType
public LookupType getType()
getStack
public java.util.Vector getStack()
getSource
public DKSRef getSource()
getMsgId
public java.lang.String getMsgId()
getPayload
public DKSObject getPayload()
getInternal
public boolean getInternal()
getTarget
public long getTarget()
- Specified by:
getTarget in interface ForwardedMsgInterface
getIntervalStart
public long getIntervalStart()
- Specified by:
getIntervalStart in interface ForwardedMsgInterface
setIntervalStart
public void setIntervalStart(long s)
- Specified by:
setIntervalStart in interface ForwardedMsgInterface
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.