Package org.epics.pvdata.factory
Class BasePVULong
- java.lang.Object
-
- org.epics.pvdata.factory.AbstractPVField
-
- org.epics.pvdata.factory.AbstractPVScalar
-
- org.epics.pvdata.factory.BasePVULong
-
- All Implemented Interfaces:
PVField,PVScalar,PVULong,Serializable
public class BasePVULong extends AbstractPVScalar implements PVULong
Base class for PVLong. It provides a complete implementation but cal also be extended.- Author:
- mrk
-
-
Field Summary
Fields Modifier and Type Field Description protected longvalue-
Fields inherited from class org.epics.pvdata.factory.AbstractPVField
convert
-
-
Constructor Summary
Constructors Constructor Description BasePVULong(Scalar scalar)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeserialize(ByteBuffer buffer, DeserializableControl control)Deserialize buffer.booleanequals(Object obj)longget()Get the long value stored in the field.inthashCode()voidput(long value)Put the long value into the field.voidserialize(ByteBuffer buffer, SerializableControl flusher)Serialize field into given buffer.-
Methods inherited from class org.epics.pvdata.factory.AbstractPVScalar
getScalar
-
Methods inherited from class org.epics.pvdata.factory.AbstractPVField
changeField, getField, getFieldName, getFieldOffset, getFullName, getNextFieldOffset, getNumberFields, getParent, isImmutable, postPut, setData, setImmutable, setPostHandler, toString, toString, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.epics.pvdata.pv.PVField
getField, getFieldName, getFieldOffset, getFullName, getNextFieldOffset, getNumberFields, getParent, isImmutable, postPut, setImmutable, setPostHandler, toString, toString, toString
-
-
-
-
Constructor Detail
-
BasePVULong
public BasePVULong(Scalar scalar)
Constructor- Parameters:
scalar- The introspection interface.
-
-
Method Detail
-
get
public long get()
Description copied from interface:PVULongGet the long value stored in the field.
-
put
public void put(long value)
Description copied from interface:PVULongPut the long value into the field. If the field is immutable a message is generated and the field not modified.
-
serialize
public void serialize(ByteBuffer buffer, SerializableControl flusher)
Description copied from interface:SerializableSerialize field into given buffer.- Specified by:
serializein interfaceSerializable- Parameters:
buffer- the serialization bufferflusher- the flush interface
-
deserialize
public void deserialize(ByteBuffer buffer, DeserializableControl control)
Description copied from interface:SerializableDeserialize buffer.- Specified by:
deserializein interfaceSerializable- Parameters:
buffer- the serialization buffercontrol- the deserialization control
-
-