示例#1
0
 public String read(String gaName) throws KnxServiceException {
   if (pa != null) {
     return knx.read(pa, gaName);
   } else {
     return knx.read(gaName);
   }
 }
示例#2
0
 public void writeResponse(String gaName, String stringData) throws KnxServiceException {
   if (pa != null) {
     knx.writeResponse(pa, gaName, stringData);
   } else {
     knx.writeResponse(gaName, stringData);
   }
 }
示例#3
0
 public void listenTo(String gaName) {
   try {
     groupAddresses.add(gaName);
     log.info(
         "{} now listens to [{}@{}]",
         getClass().getCanonicalName(),
         gaName,
         knx.translateNameToGa(gaName));
   } catch (KnxServiceConfigurationException ex) {
     log.error("Cannot setup listener for groupaddress name '" + gaName + "'.", ex);
   }
 }