Class IntegrityRemotingClient


  • public class IntegrityRemotingClient
    extends Object
    The remoting client.
    Author:
    Rene Schneider - initial API and implementation
    • Method Detail

      • close

        public void close()
        Closes a given remoting session.
      • isActive

        public boolean isActive()
      • controlExecution

        public void controlExecution​(ExecutionCommands aCommand)
        Call this method to control the test execution on the server.
        Parameters:
        aCommand - the command to execute
      • requestExecutionStateUpdate

        public void requestExecutionStateUpdate()
        Requests an execution state update from the server.
      • createBreakpoint

        public void createBreakpoint​(Integer anEntryReference)
        Creates a breakpoint at the specified entry reference.
        Parameters:
        anEntryReference -
      • deleteBreakpoint

        public void deleteBreakpoint​(Integer anEntryReference)
        Deletes a breakpoint.
        Parameters:
        anEntryReference - the entry at which the breakpoint shall be deleted
      • setupFork

        public void setupFork​(List<? extends TestResourceProvider> someResourceProviders,
                              SetList aSetList,
                              Map<String,​Object> someInitialVariables,
                              int aNumberOfSuiteInvocations)
        Sets up a new fork with the scripts to run and the current state of the setlist.
        Parameters:
        someResourceProviders - the test scripts currently loaded on the master
        aSetList - the current set list of the master
      • updateVariableValue

        public void updateVariableValue​(String aName,
                                        Serializable aValue)
        Updates a variables' value on a fork.
        Parameters:
        aName - the fully qualified variable name
        aValue - the new value
      • unsetVariableValue

        public void unsetVariableValue​(String aName)
        Unsets a variables' value on a fork.
        Parameters:
        aName - the fully qualified variable name
      • requestShutdown

        public void requestShutdown()
        Requests an immediate shutdown.
      • sendTestTimeState

        public void sendTestTimeState​(long aRealtimeOffset,
                                      long aRealtimeDecouplingTime,
                                      double aProgressionFactor)
        Sends a test time sync message.
        Parameters:
        aRealtimeOffset - the offset of our test time from real system time (wall clock)
        aRealtimeDecouplingTime - the point in real time at which our test time was decoupled from system time
        aProgressionFactor - the speed at which the test time should progress (1.0 is normal speed, progression factor may be negative too, or 0.0, which means time is frozen)
      • sendMessage

        protected void sendMessage​(AbstractMessage aMessage)
        Sends a message to the server.
        Parameters:
        aMessage - the message to send