Class BeaconHandlerImpl

    • Constructor Detail

      • BeaconHandlerImpl

        public BeaconHandlerImpl​(ClientContextImpl context,
                                 String protocol,
                                 InetSocketAddress responseFrom)
        Constructor.
        Parameters:
        context - context ot handle.
        protocol - that protocol this handles.
        responseFrom - server to handle.
    • Method Detail

      • beaconNotify

        public void beaconNotify​(InetSocketAddress from,
                                 byte remoteTransportRevision,
                                 long timestamp,
                                 byte[] guid,
                                 int sequentalID,
                                 int changeCount,
                                 org.epics.pvdata.pv.PVField data)
        Update beacon period and do analytical checks (server restared, routing problems, etc.)
        Specified by:
        beaconNotify in interface BeaconHandler
        Parameters:
        from - who is notifying.
        remoteTransportRevision - encoded (major, minor) revision.
        timestamp - time when beacon was received.
        guid - server GUID.
        sequentalID - sequential ID (unsigned short).
        changeCount - change count (unsigned short).
        data - server status data, can be null.