コード例 #1
0
 @Override
 public void onUnhandled(Event event) {
   if (TRACE_LOGGER.isLoggable(Level.FINE)) {
     TRACE_LOGGER.log(
         Level.FINE,
         "Connection.onUnhandled: name["
             + event.getConnection().getHostname()
             + "] : event["
             + event
             + "]");
   }
   super.onUnhandled(event);
 }
コード例 #2
0
 @Override
 public void onConnectionRemoteOpen(Event event) {
   super.onConnectionRemoteOpen(event);
   event.getConnection().open();
 }