Exemple #1
0
 public void clear() throws CAException {
   assertValidity();
   try {
     _jnicontext.ch_clearMonitor(this);
   } catch (JNIException jnie) {
     throw new CAException("Unable to clear monitor", jnie);
   }
 }
Exemple #2
0
 public JNIMonitor(
     JNIContext context, DBRType type, int count, JNIChannel ch, MonitorListener l, int mask) {
   _jnicontext = context;
   _type = type;
   _count = count;
   _channel = ch;
   if (l != null) _monitorListenerList.add(l);
   _mask = mask;
   _callback = new JNIMonitorCallback(ch, context.getEventDispatcher(), _monitorListenerList);
 }