예제 #1
0
 /** {@inheritDoc} */
 @Override
 public void expire() {
   try {
     eventDispatcher.shutdown();
   } finally {
     super.expire();
   }
 }
예제 #2
0
 /**
  * Submits {@link #notifySctpConnectionReadyInEventDispatcher()} to {@link #eventDispatcher} for
  * asynchronous execution.
  */
 private void notifySctpConnectionReady() {
   if (!isExpired()) {
     eventDispatcher.execute(
         new Runnable() {
           @Override
           public void run() {
             notifySctpConnectionReadyInEventDispatcher();
           }
         });
   }
 }
예제 #3
0
 /**
  * Submits {@link #notifyChannelOpenedInEventDispatcher(WebRtcDataStream)} to {@link
  * #eventDispatcher} for asynchronous execution.
  *
  * @param dataChannel
  */
 private void notifyChannelOpened(final WebRtcDataStream dataChannel) {
   if (!isExpired()) {
     eventDispatcher.execute(
         new Runnable() {
           @Override
           public void run() {
             notifyChannelOpenedInEventDispatcher(dataChannel);
           }
         });
   }
 }