コード例 #1
0
 @Override
 public void indication(final FrameEvent e) {
   assertNotNull(e);
   assertEquals(lnk, e.getSource());
   final CEMILData f = (CEMILData) e.getFrame();
   ind = f;
   assertEquals(CEMILData.MC_LDATA_IND, ind.getMessageCode());
   System.out.println("indication");
   Debug.printLData(ind);
 }
コード例 #2
0
 @Override
 public void confirmation(final FrameEvent e) {
   assertNotNull(e);
   assertEquals(lnk, e.getSource());
   final CEMILData f = (CEMILData) e.getFrame();
   con = f;
   assertEquals(CEMILData.MC_LDATA_CON, f.getMessageCode());
   assertTrue(f.isPositiveConfirmation());
   System.out.println("confirmation");
   Debug.printLData(f);
 }