Ejemplo n.º 1
0
 /** Send open event after open */
 public void open() throws IOException, InterruptedException {
   super.open();
   super.append(openEvent()); // purposely using old append
   listener.start(new String(tag));
 }
Ejemplo n.º 2
0
 /** Send close event before close */
 public void close() throws IOException, InterruptedException {
   super.append(closeEvent()); // purposely using old append
   super.close();
   listener.end(new String(tag));
 }