Class SCMPInspectCall

java.lang.Object
org.serviceconnector.call.SCMPCallAdapter
org.serviceconnector.call.SCMPInspectCall
All Implemented Interfaces:
ISCMPCall

public class SCMPInspectCall extends SCMPCallAdapter
The Class SCMPInspectCall. Call inspects SC. Used for testing to assure operations are done properly.
Author:
JTraber
  • Constructor Details

    • SCMPInspectCall

      public SCMPInspectCall(IRequester req)
      Instantiates a new SCMPInspectCall.
      Parameters:
      req - the requester to use when invoking call
  • Method Details

    • invoke

      public void invoke(ISCMPMessageCallback scmpCallback, int timeoutMillis) throws Exception
      Invoke asynchronous.
      Specified by:
      invoke in interface ISCMPCall
      Overrides:
      invoke in class SCMPCallAdapter
      Parameters:
      scmpCallback - the callback
      timeoutMillis - the timeout in milliseconds
      Throws:
      Exception - the exception
    • setRequestBody

      public void setRequestBody(Object obj)
      Sets the body.
      Specified by:
      setRequestBody in interface ISCMPCall
      Overrides:
      setRequestBody in class SCMPCallAdapter
      Parameters:
      obj - the new body
    • setCompressed

      public void setCompressed(boolean compressed)
      Sets the compression.
      Parameters:
      compressed - the compression
    • getMessageType

      public SCMPMsgType getMessageType()
      Gets the message type.
      Returns:
      the message type