|
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.comp.lib.bytestream.ByteStreamContract.Message
| Constructor Summary | |
ByteStreamContract.Message()
|
|
ByteStreamContract.Message(int type_)
Query |
|
ByteStreamContract.Message(int type_,
byte[] buf_,
int len_)
Send |
|
ByteStreamContract.Message(int type_,
byte[] buf_,
int offset_,
int len_)
Send |
|
ByteStreamContract.Message(int type_,
int size_)
Report |
|
| Method Summary | |
java.lang.Object |
clone()
Returns a clone of this object. |
byte[] |
getByteArray()
|
Contract |
getContract()
Returns the associated contract of this message. |
int |
getLength()
|
int |
getOffset()
|
int |
getType()
|
boolean |
isQuery()
|
boolean |
isReport()
|
boolean |
isSend()
|
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 ByteStreamContract.Message()
public ByteStreamContract.Message(int type_)
public ByteStreamContract.Message(int type_,
int size_)
public ByteStreamContract.Message(int type_,
byte[] buf_,
int len_)
public ByteStreamContract.Message(int type_,
byte[] buf_,
int offset_,
int len_)
| Method Detail |
public byte[] getByteArray()
public int getOffset()
public int getLength()
public boolean isSend()
public boolean isQuery()
public boolean isReport()
public int getType()
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 | ||||||||||