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 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 request
      response - the response
      responderCallback - callback to the responder
      Throws:
      Exception - the exception
    • validate

      void validate(IRequest request) throws Exception
      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