Ejemplo n.º 1
0
 @Override
 public void getCompleted(final GetEvent event) { // This runs in a CA
   // thread
   if (event.getStatus().isSuccessful()) {
     state = PVConnectionState.GotMetaData;
     final DBR dbr = event.getDBR();
     totalMetaInfo.applyBasicInfo(
         EPICS_V3_PV.this.name, dbr, EPICS_V3_PV.this.configservice);
   } else {
     logger.error("The meta get listener was not successful for EPICS_V3_PV " + name);
   }
   PVContext.scheduleCommand(
       EPICS_V3_PV.this.name,
       EPICS_V3_PV.this.jcaCommandThreadId,
       EPICS_V3_PV.this.channel_ref,
       "getCompleted",
       new Runnable() {
         @Override
         public void run() {
           subscribe();
         }
       });
 }