예제 #1
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);
 }
예제 #2
0
 public void addMonitorListener(MonitorListener l) {
   if (l == null) return;
   _monitorListenerList.add(l);
 }