Package org.serviceconnector.cmd
Interface ICommand
- All Known Implementing Classes:
AttachCommand,CheckRegistrationCommand,ClnChangeSubscriptionCommand,ClnCreateSessionCommand,ClnDeleteSessionCommand,ClnExecuteCommand,ClnSubscribeCommand,ClnUnsubscribeCommand,CommandAdapter,CscAbortSubscriptionCommand,CscChangeSubscriptionCommand,CscCreateSessionCommand,CscDeleteSessionCommand,CscExecuteCommand,CscSubscribeCommand,CscUnsubscribeCommand,DeRegisterServerCommand,DetachCommand,EchoCommand,FileDownloadCommand,FileListCommand,FileUploadCommand,InspectCommand,ManageCommand,PublishCommand,ReceivePublicationCommand,RegisterServerCommand,SrvAbortSessionCommand,SrvAbortSubscriptionCommand,SrvChangeSubscriptionCommand,SrvCommandAdapter,SrvCreateSessionCommand,SrvDeleteSessionCommand,SrvExecuteCommand,SrvSubscribeCommand,SrvUnsubscribeCommand
public interface ICommand
The Interface ICommand.
-
Method Summary
Modifier and TypeMethodDescriptiongetKey()Gets the key.booleanChecks if command passes through message parts.voidrun(IRequest request, IResponse response, IResponderCallback responderCallback) Run command.voidValidate request.
-
Method Details
-
getKey
SCMPMsgType getKey()Gets the key.- Returns:
- the key
-
run
void run(IRequest request, IResponse response, IResponderCallback responderCallback) throws Exception Run command.- Parameters:
request- the requestresponse- the responseresponderCallback- callback to the responder- Throws:
Exception- the exception
-
validate
Validate request.- Parameters:
request- the request- Throws:
Exception- the exception
-
isPassThroughPartMsg
boolean isPassThroughPartMsg()Checks if command passes through message parts.- Returns:
- true, if is pass through part msg
-