Package org.serviceconnector.call
Class SCMPManageCall
java.lang.Object
org.serviceconnector.call.SCMPCallAdapter
org.serviceconnector.call.SCMPManageCall
- All Implemented Interfaces:
ISCMPCall
The Class SCMPManageCall. Allows enable/disable of a service on SC.
-
Field Summary
Fields inherited from class org.serviceconnector.call.SCMPCallAdapter
requester, requestMessage, responseMessage, serviceName, sessionId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the message type.voidinvoke(ISCMPMessageCallback scmpCallback, int timeoutMillis) Invoke asynchronous.voidsetCompressed(boolean compressed) Sets the compression.voidsetRequestBody(Object obj) Sets the body.Methods inherited from class org.serviceconnector.call.SCMPCallAdapter
getRequest, getResponse
-
Constructor Details
-
SCMPManageCall
Instantiates a new SCMPManageCall.- Parameters:
req- the client to use when invoking call
-
-
Method Details
-
invoke
Invoke asynchronous.- Specified by:
invokein interfaceISCMPCall- Overrides:
invokein classSCMPCallAdapter- Parameters:
scmpCallback- the callbacktimeoutMillis- the timeout in milliseconds- Throws:
Exception- the exception
-
setRequestBody
Sets the body.- Specified by:
setRequestBodyin interfaceISCMPCall- Overrides:
setRequestBodyin classSCMPCallAdapter- Parameters:
obj- the new body
-
setCompressed
public void setCompressed(boolean compressed) Sets the compression.- Parameters:
compressed- the compression
-
getMessageType
Gets the message type.- Returns:
- the message type
-