Package com.isode.som.qmgr
Class SomQmgrMtaCkadrCommand
java.lang.Object
com.isode.som.SomCommand
com.isode.som.qmgr.SomQmgrCommand
com.isode.som.qmgr.SomQmgrMtaCkadrCommand
- All Implemented Interfaces:
SomResponseProcessor
This class implements the remote address checking command.
- Author:
- tc
-
Field Summary
Fields inherited from class com.isode.som.SomCommand
opListener, opSession -
Constructor Summary
ConstructorsConstructorDescriptionSomQmgrMtaCkadrCommand(SomSession session, SomQmgrHandler object, SomCommandListener listener, SomQmgrCKADROptions options) Create a new SomQmgrMtaCkadrCommand object -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a Selector to the commandvoidprocessResponse(String commandData, byte[] bytedata, int status) Process a SOM command response, creating appropriate objects to hold data from the response if necessary, and passing to the correct methods of the handler objectMethods inherited from class com.isode.som.qmgr.SomQmgrCommand
getHandlerMethods inherited from class com.isode.som.SomCommand
dispatch, getSession, notifyListener, notifyListener, notifyListener
-
Constructor Details
-
SomQmgrMtaCkadrCommand
public SomQmgrMtaCkadrCommand(SomSession session, SomQmgrHandler object, SomCommandListener listener, SomQmgrCKADROptions options) Create a new SomQmgrMtaCkadrCommand object- Parameters:
session- Session for commandobject- Result handler objectlistener- Object which will be notified when command completesoptions- Provides arguments for the command
-
-
Method Details
-
processResponse
Description copied from class:SomQmgrCommandProcess a SOM command response, creating appropriate objects to hold data from the response if necessary, and passing to the correct methods of the handler object- Specified by:
processResponsein interfaceSomResponseProcessor- Overrides:
processResponsein classSomQmgrCommand- Parameters:
commandData- The initial response stringbytedata- The accompanying datastatus- Status code for operation
-
getSubcommand
-
addSelector
Add a Selector to the command- Parameters:
sel- Selector which may be null
-
getCommandString
- Overrides:
getCommandStringin classSomCommand- Returns:
- The command string to be sent over the wire.
- Throws:
SomException- Indicating a problem with the command
-