public class UnsignedIntegerType extends AbstractSourceType
| Modifier and Type | Field and Description |
|---|---|
static SourceType |
INSTANCE
A default instance with no scaling
|
static int |
LENGTH |
COMMON_HEADER| Constructor and Description |
|---|
UnsignedIntegerType() |
UnsignedIntegerType(Double factor) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Variant |
getValue(int localOffset,
org.apache.mina.core.buffer.IoBuffer value)
parse the value to write from a write request
|
int |
hashCode() |
void |
putValue(org.apache.mina.core.buffer.IoBuffer slice,
Variant value)
Render the value itself to the buffer slice
|
getLength, renderpublic static final int LENGTH
public static final SourceType INSTANCE
public UnsignedIntegerType(Double factor)
public UnsignedIntegerType()
public void putValue(org.apache.mina.core.buffer.IoBuffer slice,
Variant value)
AbstractSourceTypeputValue in class AbstractSourceTypeslice - the buffer slicevalue - the value, or null if "nothing" has to be encodedpublic Variant getValue(int localOffset, org.apache.mina.core.buffer.IoBuffer value)
SourceTypelocalOffset - the local offset were the write was placed inside the data
type structurevalue - the value to write, or null if the value cannot
be writtennullpublic int hashCode()
hashCode in interface SourceTypehashCode in class Objectpublic boolean equals(Object obj)
equals in interface SourceTypeequals in class ObjectCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.