public final class CbAccelerator
extends java.lang.Object
implements de.desy.tine.client.TCallback
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLAZZ |
Constructor and Description |
---|
CbAccelerator(IMonitor monitor_)
Constructor of this call back instance.
|
Modifier and Type | Method and Description |
---|---|
void |
callback(int nLinkIndex_,
int nLinkStatus_)
The method which will be called when new data arrive.
|
public CbAccelerator(IMonitor monitor_)
Constructor of this call back instance. It will get as its only argument a monitor. This monitor should never be null otherwise a runtime exception is thrown.
monitor_
- Is the monitor object which never should be null.public void callback(int nLinkIndex_, int nLinkStatus_)
de.desy.tine.client.TCallback
callback
in interface de.desy.tine.client.TCallback
nLinkIndex_
- is either the index returned when calling the
TLink.attach(short mode,TCallback f) or
TLink.attach(short mode,TCallback f,int pollrate) methods, or the
index supplied when calling the
TLink.attach(short mode,TCallback f,int pollrate,int notificationId)
method.nLinkStatus_
- is the current link status code. The caller should
always inspect this value to determine the validity of the data.TLink.attach(int, de.desy.tine.client.TCallback)
14-September-2016 18:23 Deutsches Elektronen-Synchrotron DESY in der Helmholtz-Gemeinschaft