Interface IPendingServiceCall

  • All Superinterfaces:
    IServiceCall
    All Known Implementing Classes:
    PendingCall

    public interface IPendingServiceCall
    extends IServiceCall
    IPendingServiceCall is a call that have a list of callbacks.
    • Method Detail

      • getResult

        Object getResult()
        Returns service call result
        Returns:
        Remote call result
      • setResult

        void setResult​(Object result)
        Setter for property 'result'.
        Parameters:
        result - Value to set for property 'result'.
      • registerCallback

        void registerCallback​(IPendingServiceCallback callback)
        Registers callback object usually represented as an anonymous class instance that implements IPendingServiceCallback interface.
        Parameters:
        callback - Callback object
      • unregisterCallback

        void unregisterCallback​(IPendingServiceCallback callback)
        Unregisters callback object usually represented as an anonymous class instance that implements IPendingServiceCallback interface.
        Parameters:
        callback - Callback object
      • getCallbacks

        Set<IPendingServiceCallback> getCallbacks()
        Returns list of callback objects, usually callback object represented as an anonymous class instance that implements IPendingServiceCallback interface.
        Returns:
        Set of pending operations callbacks