Class CmsRpcCallHelper

  • public class CmsRpcCallHelper
    extends java.lang.Object
    Helper class to execute an RPC call with a custom callback to enable/disable the wait animation.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void executeRpc​( requestBuilder)
      Executes the RPC call.
      • Methods inherited from class java.lang.Object

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

      • CmsRpcCallHelper

        public CmsRpcCallHelper​(CmsRequestCounter counter)
        Creates a new instance.

        counter - the request counter to keep track of running requests
    • Method Detail

      • executeRpc

        public void executeRpc​( requestBuilder)
        Executes the RPC call.

        requestBuilder - the request builder returned by the service interface