Beispiel #1
0
 public void onMessage(Message message) {
   this.message = message;
   latch.countDown();
   try {
     released.whenTrue(null);
   } catch (InterruptedException e) {
     // ignored
   }
 }
 public void onNotification(SecurityNotification notification) {
   securityNotification = notification;
   latch.countDown();
 }