|
DRCL J-Sim API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectdrcl.comp.Message
drcl.inet.sensorsim.SensorAppWirelessAgentContract.Message
This class implements the underlying message of the contract.
| Constructor Summary | |
SensorAppWirelessAgentContract.Message()
|
|
SensorAppWirelessAgentContract.Message(int UniBcast_flag_,
int type_,
double snr_,
int eventID_)
Constructor for broadcast packets |
|
SensorAppWirelessAgentContract.Message(int UniBcast_flag_,
long dst_,
int size_,
int type_,
double snr_,
int eventID_,
long target_nid_)
Constructor for unicast packets |
|
| Method Summary | |
java.lang.Object |
clone()
Returns a clone of this object. |
Contract |
getContract()
Returns the associated contract of this message. |
long |
getDst()
|
int |
getEventID()
|
int |
getFlag()
|
int |
getSize()
|
double |
getSNR()
|
long |
getTargetNid()
|
int |
getType()
|
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 drcl.comp.Message |
toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SensorAppWirelessAgentContract.Message()
public SensorAppWirelessAgentContract.Message(int UniBcast_flag_,
long dst_,
int size_,
int type_,
double snr_,
int eventID_,
long target_nid_)
public SensorAppWirelessAgentContract.Message(int UniBcast_flag_,
int type_,
double snr_,
int eventID_)
| Method Detail |
public long getDst()
public int getSize()
public int getType()
public double getSNR()
public int getEventID()
public int getFlag()
public long getTargetNid()
public java.lang.Object clone()
ObjectCloneable
clone in interface ObjectCloneableclone in class Messagepublic Contract getContract()
Message
getContract in class Messagepublic java.lang.String toString(java.lang.String separator_)
Message
toString in class Message
|
DRCL J-Sim API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||