Class CallbackRefSerializer.MyRemotedCallback

java.lang.Object
org.nustaq.kontraktor.remoting.encoding.CallbackRefSerializer.MyRemotedCallback
All Implemented Interfaces:
Serializable, Callback, RemotedCallback
Enclosing class:
CallbackRefSerializer

public class CallbackRefSerializer.MyRemotedCallback extends Object implements Callback, RemotedCallback
See Also:
  • Constructor Details

  • Method Details

    • getChanId

      public int getChanId()
    • getId

      public long getId()
    • complete

      public void complete(Object result, Object error)
      Description copied from interface: Callback
      set result or error. error might also contain flow indicators to signal end/continue of stream when remoting. (Actor.FIN Actor.CONT)
      Specified by:
      complete in interface Callback
    • isTerminated

      public boolean isTerminated()
      Description copied from interface: Callback
      relevant for remoted callback's
      Specified by:
      isTerminated in interface Callback
      Specified by:
      isTerminated in interface RemotedCallback
      Returns:
      true if the client owning this remote callback proxy has disconnected