|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.soda.dk.message.Message
org.eclipse.soda.dk.message.SimpleResponseMessage
public class SimpleResponseMessage
| Field Summary | |
|---|---|
protected MessageService |
sentMessage
Define the sent message (MessageService) field. |
| Fields inherited from interface org.eclipse.soda.dk.message.service.MessageService |
|---|
HIGH_PRIORITY, LOW_PRIORITY, MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY, STRING, THREAD_PRIORITY |
| Constructor Summary | |
|---|---|
SimpleResponseMessage()
Constructs an instance of this class. |
|
SimpleResponseMessage(byte[] data)
Constructs an instance of this class from the specified data parameter. |
|
SimpleResponseMessage(byte[] data,
int offset,
int length)
Constructs an instance of this class from the specified data, offset and length parameters. |
|
SimpleResponseMessage(byte[] data,
MessageService sentMessage)
Constructs an instance of this class from the specified data and sent message parameters. |
|
SimpleResponseMessage(java.lang.String data)
Constructs an instance of this class from the specified data parameter. |
|
| Method Summary | |
|---|---|
MessageService |
getSentMessage()
Gets the sent message (MessageService) value. |
void |
setSentMessage(MessageService sentMessage)
Sets the sent message value. |
java.lang.String |
toString()
Returns the string value. |
| Methods inherited from class org.eclipse.soda.dk.message.Message |
|---|
clone, decodeMessage, decodeMessage, encodeMessage, encodeMessage, equals, get, getBoolean, getByte, getBytes, getData, getDataBytes, getDataLength, getDataOffset, getInt, getIntByte, getIntByte, getKey, getLittleEndianInt, getLittleEndianLong, getLong, getLongByte, getLongByte, getParameter, getPriority, getShort, hashCode, isBigEndian, length, lookup, matches, put, setBoolean, setByte, setBytes, setData, setInt, setLong, setShort, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.soda.dk.message.service.MessageService |
|---|
clone, decodeMessage, decodeMessage, encodeMessage, encodeMessage, get, getByte, getBytes, getDataBytes, getDataLength, getDataOffset, getPriority, lookup, matches, put, setByte, setBytes |
| Field Detail |
|---|
protected MessageService sentMessage
| Constructor Detail |
|---|
public SimpleResponseMessage()
SimpleResponseMessage(byte[]),
SimpleResponseMessage(byte[],MessageService),
SimpleResponseMessage(byte[],int,int),
SimpleResponseMessage(String)public SimpleResponseMessage(byte[] data)
data - The data (byte[]) parameter.SimpleResponseMessage(),
SimpleResponseMessage(byte[],MessageService),
SimpleResponseMessage(byte[],int,int),
SimpleResponseMessage(String)
public SimpleResponseMessage(byte[] data,
MessageService sentMessage)
data - The data (byte[]) parameter.sentMessage - The sent message (MessageService) parameter.SimpleResponseMessage(),
SimpleResponseMessage(byte[]),
SimpleResponseMessage(byte[],int,int),
SimpleResponseMessage(String)
public SimpleResponseMessage(byte[] data,
int offset,
int length)
data - The data (byte[]) parameter.offset - The offset (int) parameter.length - The length (int) parameter.SimpleResponseMessage(),
SimpleResponseMessage(byte[]),
SimpleResponseMessage(byte[],MessageService),
SimpleResponseMessage(String)public SimpleResponseMessage(java.lang.String data)
data - The data (String) parameter.SimpleResponseMessage(),
SimpleResponseMessage(byte[]),
SimpleResponseMessage(byte[],MessageService),
SimpleResponseMessage(byte[],int,int)| Method Detail |
|---|
public MessageService getSentMessage()
getSentMessage in interface ResponseMessageServiceMessageService) value.setSentMessage(MessageService)public void setSentMessage(MessageService sentMessage)
sentMessage - The sent message (MessageService) parameter.getSentMessage()public java.lang.String toString()
toString in class MessageString) value.Message.toString(byte[])
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||