drcl.inet.sensorsim
Class SensorAppAgentContract.Message
java.lang.Object
drcl.comp.Message
drcl.inet.sensorsim.SensorAppAgentContract.Message
- All Implemented Interfaces:
- java.lang.Cloneable, ObjectCloneable
- Enclosing class:
- SensorAppAgentContract
- public static class SensorAppAgentContract.Message
- extends Message
This class implements the underlying message of the contract.
|
Method Summary |
java.lang.Object |
clone()
Returns a clone of this object. |
Contract |
getContract()
Returns the associated contract of this message. |
int |
getDataSize()
|
double |
getSNR()
|
long |
getTargetNid()
|
java.lang.String |
toString(java.lang.String separator_)
Prints the content of the message by separating each field with the separator string. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SensorAppAgentContract.Message
public SensorAppAgentContract.Message()
SensorAppAgentContract.Message
public SensorAppAgentContract.Message(int dataSize_,
double snr_,
long target_nid_)
getDataSize
public int getDataSize()
getSNR
public double getSNR()
getTargetNid
public long getTargetNid()
clone
public java.lang.Object clone()
- Description copied from interface:
ObjectCloneable
- Returns a clone of this object.
- Specified by:
clone in interface ObjectCloneable- Specified by:
clone in class Message
getContract
public Contract getContract()
- Description copied from class:
Message
- Returns the associated contract of this message.
- Specified by:
getContract in class Message
toString
public java.lang.String toString(java.lang.String separator_)
- Description copied from class:
Message
- Prints the content of the message by separating each field with the separator string.
- Specified by:
toString in class Message
Copyright © 1998-2003 Distributed Real-time Computing Lab (DRCL). All Rights Reserved. ~ To J-Sim Home ~