Interface IWebProcessorAdapter


  • public interface IWebProcessorAdapter
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void connect​(java.lang.String location, java.lang.String id, java.lang.String options)
      Launches (local) or connects (remote) a web processor.
      void disconnect​(IRWebProcessor wpAPI)
      Disconnects the underlying web processor.
    • Method Detail

      • connect

        void connect​(java.lang.String location,
                     java.lang.String id,
                     java.lang.String options)
        Launches (local) or connects (remote) a web processor. The adapter must register the underlying web processor by calling registerWebProcessor within Web Processor Bus Service.
        Parameters:
        location - the adapter-specific location of the web processor code; for the "local" adapter, contains a Java class name;
        id - the web processor ID provided by the server-side bridge; the underlying web processor must use this ID, when communicating with the bridge via Web Processor Bus Service
        options - additional (optional) options specified in webproctab
      • disconnect

        void disconnect​(IRWebProcessor wpAPI)
        Disconnects the underlying web processor.
        Parameters:
        wpAPI - a pointer to the corresponding IRWebProcessor implementation, which can be used while disconnecting (e.g., to terminate a running process)