Beispiel #1
0
 public void onNotification(UMOServerNotification notification) {
   try {
     events.put(notification);
   } catch (InterruptedException e) {
     throw new RuntimeException("Caught unexpected exception:", e);
   }
 }
 public void service(final Request request) throws Exception {
   responseTimeoutTime = System.currentTimeMillis() + timeoutInterval;
   respondToPreviousRequest();
   pendingRequest.put(request);
 }