Interface ISCMPCall

All Known Implementing Classes:
SCMPAttachCall, SCMPCallAdapter, SCMPCheckRegistrationCall, SCMPClnChangeSubscriptionCall, SCMPClnCreateSessionCall, SCMPClnDeleteSessionCall, SCMPClnExecuteCall, SCMPClnSubscribeCall, SCMPClnUnsubscribeCall, SCMPCscAbortSubscriptionCall, SCMPCscChangeSubscriptionCall, SCMPCscCreateSessionCall, SCMPCscDeleteSessionCall, SCMPCscExecuteCall, SCMPCscSubscribeCall, SCMPCscUnsubscribeCall, SCMPDeRegisterServerCall, SCMPDetachCall, SCMPEchoCall, SCMPFileDownloadCall, SCMPFileListCall, SCMPFileUploadCall, SCMPInspectCall, SCMPManageCall, SCMPPublishCall, SCMPReceivePublicationCall, SCMPRegisterServerCall, SCMPSrvAbortSessionCall, SCMPSrvAbortSubscriptionCall, SCMPSrvChangeSubscriptionCall, SCMPSrvCreateSessionCall, SCMPSrvDeleteSessionCall, SCMPSrvExecuteCall, SCMPSrvSubscribeCall, SCMPSrvUnsubscribeCall

public interface ISCMPCall
The Interface ISCMPCall. Basic functionality of a SCMPCall.
Author:
JTraber
  • Method Details

    • invoke

      void invoke(ISCMPMessageCallback callback, int timeoutMillis) throws Exception
      Invoke asynchronous.
      Parameters:
      callback - the callback
      timeoutMillis - the timeout in milliseconds
      Throws:
      Exception - the exception
    • setRequestBody

      void setRequestBody(Object body)
      Sets the body.
      Parameters:
      body - the new body
    • getRequest

      SCMPMessage getRequest()
      Gets the call.
      Returns:
      the call
    • getResponse

      SCMPMessage getResponse()
      Gets the result.
      Returns:
      the result
    • getMessageType

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