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 void
addSelector(SomQmgrSelector sel)
Add a Selector to the commandjava.lang.String
getCommandString()
java.lang.String
getSubcommand()
void
processResponse(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:SomQmgrCommand
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- Specified by:
processResponse
in interfaceSomResponseProcessor
- Overrides:
processResponse
in 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:
getCommandString
in classSomCommand
- Returns:
- The command string to be sent over the wire.
- Throws:
SomException
- Indicating a problem with the command
-
-