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
public class SomQmgrMtaCkadrCommand extends SomQmgrCommand
This class implements the remote address checking command.- Author:
- tc
-
-
Field Summary
-
Fields inherited from class com.isode.som.SomCommand
opListener, opSession
-
-
Constructor Summary
Constructors Constructor Description SomQmgrMtaCkadrCommand(SomSession session, SomQmgrHandler object, SomCommandListener listener, SomQmgrCKADROptions options)Create a new SomQmgrMtaCkadrCommand object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSelector(SomQmgrSelector sel)Add a Selector to the commandjava.lang.StringgetCommandString()java.lang.StringgetSubcommand()voidprocessResponse(java.lang.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 object-
Methods inherited from class com.isode.som.qmgr.SomQmgrCommand
getHandler
-
Methods inherited from class com.isode.som.SomCommand
dispatch, getSession, notifyListener, notifyListener, notifyListener
-
-
-
-
Constructor Detail
-
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 Detail
-
processResponse
public void processResponse(java.lang.String commandData, byte[] bytedata, int status)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
public java.lang.String getSubcommand()
-
addSelector
public void addSelector(SomQmgrSelector sel)
Add a Selector to the command- Parameters:
sel- Selector which may be null
-
getCommandString
public java.lang.String getCommandString() throws SomException- Overrides:
getCommandStringin classSomCommand- Returns:
- The command string to be sent over the wire.
- Throws:
SomException- Indicating a problem with the command
-
-