|
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.Messages
public class Messages
The Messages class implements multiple messages.
| Field Summary |
|---|
| 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 | |
|---|---|
Messages(MessageService[] messages)
Constructs an instance of this class from the specified messages parameter. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Perform the clone method and return the Object result. |
java.lang.Object |
decodeMessage(MessageService messageService)
Decode message with the specified message service parameter and return the Object result. |
java.lang.Object |
decodeMessage(MessageService messageService,
ParameterService parameter)
Decode message with the specified message service and parameter parameters and return the Object result. |
MessageService |
encodeMessage(MessageService messageService,
java.lang.Object value)
Encode message with the specified message service and value parameters and return the MessageService result. |
MessageService |
encodeMessage(MessageService messageService,
ParameterService parameter,
java.lang.Object value)
Encode message with the specified message service, parameter and value parameters and return the MessageService result. |
boolean |
equals(java.lang.Object obj)
Compares two objects for equality. |
java.lang.Object |
get(java.lang.Object key)
Perform the get method and return the Object result. |
byte |
getByte(int index)
Perform the getByte method and return the byte result. |
byte[] |
getBytes()
Gets the byte [] bytes property value. |
byte[] |
getDataBytes()
Gets the data bytes. |
int |
getDataLength()
Gets the data length (int) value. |
int |
getDataOffset()
Gets the data offset (int) value. |
MessageService[] |
getMessages()
Gets the messages (MessageService[]) value. |
int |
getPriority()
Gets the int priority property value. |
int |
hashCode()
Generates a hash code for the receiver. |
ParameterService |
lookup(ParameterService parameter)
Lookup with the specified parameter parameter and return the ParameterService result. |
MessageService |
matches(MessageService message)
Perform the matches method and return the boolean result. |
void |
put(java.lang.Object key,
java.lang.Object value)
Perform the put action method. |
void |
setByte(int index,
byte data)
Perform the setByte action method. |
void |
setBytes(byte[] bytes)
Sets the bytes value. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Messages(MessageService[] messages)
throws java.lang.IllegalArgumentException
messages - The messages (MessageService[]) parameter.
java.lang.IllegalArgumentException - Illegal Argument Exception.getMessages()| Method Detail |
|---|
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
Object result.
clone in interface MessageServiceclone in class java.lang.ObjectObject) value.
- href="java.lang.CloneNotSupportedException.html">CloneNotSupportedException Thrown if the CloneNotSupportedException exception condition occurs.
java.lang.CloneNotSupportedExceptionpublic java.lang.Object decodeMessage(MessageService messageService)
decodeMessage in interface MessageServicemessageService - The message service (MessageService) parameter.
Object) value.decodeMessage(MessageService,ParameterService),
encodeMessage(MessageService,Object),
encodeMessage(MessageService,ParameterService,Object)
public java.lang.Object decodeMessage(MessageService messageService,
ParameterService parameter)
decodeMessage in interface MessageServicemessageService - The message service (MessageService) parameter.parameter - The parameter (ParameterService) parameter.
Object) value.decodeMessage(MessageService),
encodeMessage(MessageService,Object),
encodeMessage(MessageService,ParameterService,Object)
public MessageService encodeMessage(MessageService messageService,
java.lang.Object value)
encodeMessage in interface MessageServicemessageService - The message service (MessageService) parameter.value - The value (Object) parameter.
MessageService) value.decodeMessage(MessageService),
decodeMessage(MessageService,ParameterService),
encodeMessage(MessageService,ParameterService,Object)
public MessageService encodeMessage(MessageService messageService,
ParameterService parameter,
java.lang.Object value)
encodeMessage in interface MessageServicemessageService - The message service (MessageService) parameter.parameter - The parameter (ParameterService) parameter.value - The value (Object) parameter.
MessageService) value.decodeMessage(MessageService),
decodeMessage(MessageService,ParameterService),
encodeMessage(MessageService,Object)public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the Object to compare with
Hashtablepublic java.lang.Object get(java.lang.Object key)
Object result.
get in interface MessageServicekey - java.lang.Object
Object) value.public byte getByte(int index)
byte result.
Return the byte from the byte index (not bit offset).
getByte in interface MessageServiceindex - int
byte) value.setByte(int,byte)public byte[] getBytes()
byte [] bytes property value.
getBytes in interface MessageServicebyte[]) value.getDataBytes(),
setBytes(byte[])public byte[] getDataBytes()
getDataBytes in interface MessageServicebyte[]) value.MessageService.getDataBytes()public int getDataLength()
getDataLength in interface MessageServiceint) value.public int getDataOffset()
getDataOffset in interface MessageServiceint) value.public MessageService[] getMessages()
MessageService[]) value.Messages(MessageService[])public int getPriority()
int priority property value.
getPriority in interface MessageServiceint) value.public int hashCode()
hashCode in class java.lang.ObjectHashtablepublic ParameterService lookup(ParameterService parameter)
lookup in interface MessageServiceparameter - The parameter (ParameterService) parameter.
ParameterService) value.public MessageService matches(MessageService message)
boolean result.
matches in interface MessageServicemessage - org.eclipse.soda.dk.message.service.MessageService
public void put(java.lang.Object key,
java.lang.Object value)
put in interface MessageServicekey - java.lang.Objectvalue - java.lang.Object
public void setByte(int index,
byte data)
Set the byte using the byte index (not bit offset).
setByte in interface MessageServiceindex - intdata - bytegetByte(int)public void setBytes(byte[] bytes)
setBytes in interface MessageServicebytes - The bytes (byte[]) parameter.getBytes(),
getDataBytes()
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||