Class 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
    • Field Detail

      • registry

        protected final Map<Short,​org.epics.pvaccess.client.pvms.IncomingMulticastIntrospectionRegistry.FieldEntry> registry
    • Constructor Detail

      • IncomingMulticastIntrospectionRegistry

        public IncomingMulticastIntrospectionRegistry()
    • 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)