|
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.FilterMessage
org.eclipse.soda.dk.message.ParameterMessage
org.eclipse.soda.dk.message.TokenMessage
public class TokenMessage
| 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 | |
|---|---|
TokenMessage(byte[] data,
FilterService filter,
ParameterService parameter,
java.lang.String tokens)
Constructs an ParameterMessage object using the input parameter(s). |
|
TokenMessage(byte[] data,
ParameterService parameter,
java.lang.String tokens)
Constructs an instance of this class from the specified data, parameter and tokens parameters. |
|
| Method Summary | |
|---|---|
boolean |
append(byte[] bytes)
Perform the append method and return the boolean result. |
boolean |
append(byte[] bytes,
int offset,
int len)
Perform the append method and return the boolean result. |
boolean |
append(int data,
int offset)
Perform the append method and return the boolean result. |
java.lang.Object |
decodeMessage(MessageService message)
Decode message with the specified message parameter and return the Object result. |
java.lang.Object |
decodeMessage(MessageService message,
ParameterService parameter)
Decode message with the specified message and parameter parameters and return the Object result. |
java.lang.Object |
get(java.lang.Object fieldName)
Get with the specified field name parameter and return the Object result. |
java.lang.Object |
getComplexKey(java.lang.Object fieldName)
Get complex key with the specified field name parameter and return the Object result. |
java.lang.Object |
getData(int index)
Perform the getData method and return the Object result. |
int |
getFieldCount()
Gets the int fieldCount property value. |
int[] |
getFieldInfo()
Gets the int [] fieldInfo property value. |
java.lang.Object |
getSimple(java.lang.Object fieldName)
Get simple with the specified field name parameter and return the Object result. |
void |
put(java.lang.Object key,
java.lang.Object value)
Perform the put action method. |
void |
reset()
Perform the reset action method. |
void |
setBytes(byte[] bytes)
Sets the bytes property. |
java.lang.String |
toString()
Perform the toString method and return the String result. |
| Methods inherited from class org.eclipse.soda.dk.message.ParameterMessage |
|---|
encodeMessage, encodeMessage, getParameter, lookup, setParameter |
| Methods inherited from class org.eclipse.soda.dk.message.FilterMessage |
|---|
getFilter, matches, setFilter |
| Methods inherited from class org.eclipse.soda.dk.message.Message |
|---|
clone, equals, getBoolean, getByte, getBytes, getData, getDataBytes, getDataLength, getDataOffset, getInt, getIntByte, getIntByte, getKey, getLittleEndianInt, getLittleEndianLong, getLong, getLongByte, getLongByte, getPriority, getShort, hashCode, isBigEndian, length, setBoolean, setByte, setData, setInt, setLong, setShort, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TokenMessage(byte[] data,
ParameterService parameter,
java.lang.String tokens)
data - The data (byte[]) parameter.parameter - The parameter (ParameterService) parameter.tokens - The tokens (String) parameter.TokenMessage(byte[],FilterService,ParameterService,String)
public TokenMessage(byte[] data,
FilterService filter,
ParameterService parameter,
java.lang.String tokens)
ParameterMessage object using the input parameter(s).
data - byte[]filter - org.eclipse.soda.dk.filter.service.FilterServiceparameter - org.eclipse.soda.dk.tk.ParameterServicetokens - The tokens (String) parameter.TokenMessage(byte[],ParameterService,String)| Method Detail |
|---|
public boolean append(int data,
int offset)
boolean result.
data - intoffset - The offset (int) parameter.
boolean) value.append(byte[]),
append(byte[],int,int)public boolean append(byte[] bytes)
boolean result.
bytes - byte[]
boolean) value.append(int,int),
append(byte[],int,int)
public boolean append(byte[] bytes,
int offset,
int len)
boolean result.
bytes - byte[]offset - intlen - int
boolean) value.append(int,int),
append(byte[])public java.lang.Object decodeMessage(MessageService message)
decodeMessage in interface MessageServicedecodeMessage in class ParameterMessagemessage - The message (MessageService) parameter.
Object) value.TokenMessage(byte[],ParameterService,String),
TokenMessage(byte[],FilterService,ParameterService,String),
decodeMessage(MessageService,ParameterService)
public java.lang.Object decodeMessage(MessageService message,
ParameterService parameter)
decodeMessage in interface MessageServicedecodeMessage in class ParameterMessagemessage - The message (MessageService) parameter.parameter - The parameter (ParameterService) parameter.
Object) value.TokenMessage(byte[],ParameterService,String),
TokenMessage(byte[],FilterService,ParameterService,String),
decodeMessage(MessageService)public java.lang.Object get(java.lang.Object fieldName)
get in interface MessageServiceget in class MessagefieldName - The field name (Object) parameter.
Object) value.MessageService.get(java.lang.Object)public java.lang.Object getComplexKey(java.lang.Object fieldName)
fieldName - The field name (Object) parameter.
Object) value.public java.lang.Object getData(int index)
Object result.
index - int
Object) value.public int getFieldCount()
int fieldCount property value.
int) value.public int[] getFieldInfo()
int [] fieldInfo property value.
int[]) value.public java.lang.Object getSimple(java.lang.Object fieldName)
fieldName - The field name (Object) parameter.
Object) value.
public void put(java.lang.Object key,
java.lang.Object value)
put in interface MessageServiceput in class Messagekey - java.lang.Objectvalue - java.lang.ObjectMessageService.put(java.lang.Object, java.lang.Object)public void reset()
public void setBytes(byte[] bytes)
setBytes in interface MessageServicesetBytes in class Messagebytes - The new bytes value (byte[]).Message.getBytes(),
Message.getDataBytes()public java.lang.String toString()
String result.
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 | |||||||||