Class SetDescObserver

java.lang.Object
com.openfin.desktop.channel.webrtc.SetDescObserver
All Implemented Interfaces:
dev.onvoid.webrtc.SetSessionDescriptionObserver, java.util.concurrent.Future<java.lang.Void>

public class SetDescObserver
extends java.lang.Object
implements dev.onvoid.webrtc.SetSessionDescriptionObserver, java.util.concurrent.Future<java.lang.Void>
  • Constructor Summary

    Constructors 
    Constructor Description
    SetDescObserver()  
  • Method Summary

    Modifier and Type Method Description
    boolean cancel​(boolean mayInterruptIfRunning)  
    java.lang.Void get()  
    java.lang.Void get​(long timeout, java.util.concurrent.TimeUnit unit)  
    boolean isCancelled()  
    boolean isDone()  
    void onFailure​(java.lang.String error)  
    void onSuccess()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • onSuccess

      public void onSuccess()
      Specified by:
      onSuccess in interface dev.onvoid.webrtc.SetSessionDescriptionObserver
    • onFailure

      public void onFailure​(java.lang.String error)
      Specified by:
      onFailure in interface dev.onvoid.webrtc.SetSessionDescriptionObserver
    • cancel

      public boolean cancel​(boolean mayInterruptIfRunning)
      Specified by:
      cancel in interface java.util.concurrent.Future<java.lang.Void>
    • isCancelled

      public boolean isCancelled()
      Specified by:
      isCancelled in interface java.util.concurrent.Future<java.lang.Void>
    • isDone

      public boolean isDone()
      Specified by:
      isDone in interface java.util.concurrent.Future<java.lang.Void>
    • get

      public java.lang.Void get() throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
      Specified by:
      get in interface java.util.concurrent.Future<java.lang.Void>
      Throws:
      java.lang.InterruptedException
      java.util.concurrent.ExecutionException
    • get

      public java.lang.Void get​(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
      Specified by:
      get in interface java.util.concurrent.Future<java.lang.Void>
      Throws:
      java.lang.InterruptedException
      java.util.concurrent.ExecutionException
      java.util.concurrent.TimeoutException