Package org.epics.pvaccess.client.pvms
Class IncomingMulticastIntrospectionRegistry
- java.lang.Object
-
- org.epics.pvaccess.client.pvms.IncomingMulticastIntrospectionRegistry
-
public final class IncomingMulticastIntrospectionRegistry extends Object
Incoming (receive) introspection registry. Registry is used to cache introspection interfaces to minimize network traffic. This class is not thread safe (optimized to be used only by one thread). Always deserializes with id and full introspection data (used by one-to-many transports).- Author:
- msekoranja
-
-
Constructor Summary
Constructors Constructor Description IncomingMulticastIntrospectionRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.epics.pvdata.pv.Field
deserialize(ByteBuffer buffer, org.epics.pvdata.pv.DeserializableControl control)
org.epics.pvaccess.client.pvms.IncomingMulticastIntrospectionRegistry.FieldEntry
getIntrospectionInterface(short id)
Get introspection interface for given ID.void
registerIntrospectionInterface(short id, org.epics.pvaccess.client.pvms.IncomingMulticastIntrospectionRegistry.FieldEntry fieldEntry)
Register introspection interface with given ID.void
reset()
Reset registry, i.e.
-
-
-
Method Detail
-
reset
public void reset()
Reset registry, i.e. must be done when transport is changed (server restarted).
-
getIntrospectionInterface
public org.epics.pvaccess.client.pvms.IncomingMulticastIntrospectionRegistry.FieldEntry getIntrospectionInterface(short id)
Get introspection interface for given ID.- Parameters:
id
- the ID.- Returns:
Field
instance for given ID.
-
registerIntrospectionInterface
public void registerIntrospectionInterface(short id, org.epics.pvaccess.client.pvms.IncomingMulticastIntrospectionRegistry.FieldEntry fieldEntry)
Register introspection interface with given ID.- Parameters:
id
- the ID to use.fieldEntry
- entry to register.
-
deserialize
public final org.epics.pvdata.pv.Field deserialize(ByteBuffer buffer, org.epics.pvdata.pv.DeserializableControl control)
-
-