|
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.core.EscObject
org.eclipse.soda.dk.parameter.Parameter
org.eclipse.soda.dk.parameter.BitOffsetParameter
public class BitOffsetParameter
The OffsetParameter class implements the ParameterService interface.
Parameter,
ParameterService| Field Summary | |
|---|---|
static int[] |
MASKS
Define the masks (int) constant. |
| Fields inherited from class org.eclipse.soda.dk.parameter.Parameter |
|---|
SET_MASKS, SET_TOP_MASKS |
| Fields inherited from class org.eclipse.soda.dk.core.EscObject |
|---|
CLONE_EXCEPTION_RESOURCE, EMPTY_BYTES, EMPTY_STRING, ERROR_OCCURRED_EXCEPTION_RESOURCE, ID_FILTER_KEY, ID_KEY, ID_KEY_ANY, INTEGER_TABLE, KEY_KEY, LOG_DEBUG, LOG_ERROR, LOG_INFO, LOG_TRACE, LOG_WARNING, PREFIX_KEY, RESOURCE_BUNDLE, SLEEP_EXCEPTION_RESOURCE, SYSTEM_INFO_RESOURCE, TO_STRING_CONFIGURATION_KEYS, TRACE_LEVEL_HIGH, TRACE_LEVEL_LOW, TRACE_LEVEL_MAX, TRACE_LEVEL_MIN, TRACE_LEVEL_NONE, TRACE_LEVEL_NORMAL, TRACELEVEL_KEY, UNKNOWN_ERROR_RESOURCE |
| Fields inherited from interface org.eclipse.soda.dk.parameter.service.ParameterService |
|---|
ARRAY, ASCII, ASCIIZ, BOOLEAN, BYTE, BYTES, DOUBLE, FLOAT, HEXASCII, HEXSTRING, INSERT, INTEGER, LITTLEENDIAN, LONG, NASCII, NSTRING, NULL, SHORT, STRING, UNSIGNED |
| Constructor Summary | |
|---|---|
BitOffsetParameter(java.lang.String key,
int offset)
Constructs an instance of this class from the specified key and offset parameters. |
|
BitOffsetParameter(java.lang.String key,
int offset,
short style)
Constructs an instance of this class from the specified key, offset and style parameters. |
|
BitOffsetParameter(java.lang.String key,
TransformService transform,
int offset,
short style)
Constructs an BitOffsetParameter object using the input parameter(s). |
|
| Method Summary | |
|---|---|
protected java.lang.Object |
decodeMessage(MessageService message)
Perform the decodeMessage method and return the Object result. |
MessageService |
encodeMessage(MessageService message,
java.lang.Object value,
int offset)
Perform the encodeMessage method and return the MessageService result. |
protected int |
getIndex()
Gets the int index property value. |
int |
getLength()
Gets the length. |
protected int |
getMask()
Gets the int mask property value. |
protected int |
getOffset()
Gets the int offset property value. |
protected int |
getSize()
Gets the int size property value. |
protected void |
setOffset(int offset)
Sets the offset property. |
| Methods inherited from class org.eclipse.soda.dk.parameter.Parameter |
|---|
decode, decodeBytes, decodeEnd, decodeString, decodeValue, encode, encodeBegin, encodeBytes, encodeString, encodeValue, equals, getDefaultStyle, getKey, getLong, getStyle, getTransform, getTypeStyle, isArray, isInsert, isLittleEndian, isUnsigned, setBits, setKey, setStyle, setTransform |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int[] MASKS
| Constructor Detail |
|---|
public BitOffsetParameter(java.lang.String key,
int offset)
key - The key (String) parameter.offset - The offset (int) parameter.BitOffsetParameter(String,int,short),
BitOffsetParameter(String,TransformService,int,short)
public BitOffsetParameter(java.lang.String key,
int offset,
short style)
key - The key (String) parameter.offset - The offset (int) parameter.style - The style (short) parameter.BitOffsetParameter(String,int),
BitOffsetParameter(String,TransformService,int,short)
public BitOffsetParameter(java.lang.String key,
TransformService transform,
int offset,
short style)
BitOffsetParameter object using the input parameter(s).
transform - org.eclipse.soda.dk.transform.service.TransformServiceoffset - The starting bit offset of the parameter in the message.style - shortkey - The key (String) parameter.BitOffsetParameter(String,int),
BitOffsetParameter(String,int,short)| Method Detail |
|---|
protected java.lang.Object decodeMessage(MessageService message)
Object result.
decodeMessage in class Parametermessage - org.eclipse.soda.dk.message.service.MessageService
Object) value.encodeMessage(MessageService,Object,int)
public MessageService encodeMessage(MessageService message,
java.lang.Object value,
int offset)
MessageService result.
encodeMessage in class Parametermessage - org.eclipse.soda.dk.message.service.MessageServicevalue - java.lang.Objectoffset - int
MessageService) value.decodeMessage(MessageService)protected int getIndex()
int index property value.
int) value.public int getLength()
protected int getMask()
int mask property value.
int) value.protected int getOffset()
int offset property value.
int) value.setOffset(int)protected int getSize()
int size property value.
int) value.protected void setOffset(int offset)
offset - The new property value (int).getOffset()
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||