Пример #1
0
 public void setSlaveMasterListener(LinkListener listener) {
   synchronized (monitor) {
     smLink.setListener(listener);
   }
 }
Пример #2
0
 public void setMasterSlaveListener(LinkListener listener) {
   synchronized (monitor) {
     msLink.setListener(listener);
   }
 }
Пример #3
0
 public void start() {
   smLink.start();
   msLink.start();
 }