Package org.serviceconnector.call
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 Summary
Modifier and TypeMethodDescriptionGets the message type.Gets the call.Gets the result.voidinvoke(ISCMPMessageCallback callback, int timeoutMillis) Invoke asynchronous.voidsetRequestBody(Object body) Sets the body.
-
Method Details
-
invoke
Invoke asynchronous.- Parameters:
callback- the callbacktimeoutMillis- the timeout in milliseconds- Throws:
Exception- the exception
-
setRequestBody
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
-