Class BeaconHandlerImpl
- java.lang.Object
-
- org.epics.pvaccess.client.impl.remote.BeaconHandlerImpl
-
- All Implemented Interfaces:
BeaconHandler
public class BeaconHandlerImpl extends Object implements BeaconHandler
PVA beacon handler.- Version:
- $Id$
- Author:
- Matej Sekoranja
-
-
Constructor Summary
Constructors Constructor Description BeaconHandlerImpl(ClientContextImpl context, String protocol, InetSocketAddress responseFrom)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeaconNotify(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.)
-
-
-
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:
beaconNotifyin interfaceBeaconHandler- 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 benull.
-
-