Package com.isode.som.qmgr
Class SomQmgrMtaReadCommand
- java.lang.Object
-
- com.isode.som.SomCommand
-
- com.isode.som.qmgr.SomQmgrCommand
-
- com.isode.som.qmgr.SomQmgrMtaReadCommand
-
- All Implemented Interfaces:
SomResponseProcessor
public class SomQmgrMtaReadCommand extends SomQmgrCommand
This class implements the command which reads information about a MTA- Author:
- tc
-
-
Field Summary
-
Fields inherited from class com.isode.som.SomCommand
opListener, opSession
-
-
Constructor Summary
Constructors Constructor Description SomQmgrMtaReadCommand(SomSession session, SomQmgrHandler object, SomCommandListener listener)
Create a new SomQmgrMtaReadCommand objectSomQmgrMtaReadCommand(SomSession session, SomQmgrSelector sel, SomQmgrHandler object, SomCommandListener listener)
Create a new SomQmgrMtaReadCommand 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()
-
Methods inherited from class com.isode.som.qmgr.SomQmgrCommand
getHandler, processResponse
-
Methods inherited from class com.isode.som.SomCommand
dispatch, getSession, notifyListener, notifyListener, notifyListener
-
-
-
-
Constructor Detail
-
SomQmgrMtaReadCommand
public SomQmgrMtaReadCommand(SomSession session, SomQmgrHandler object, SomCommandListener listener)
Create a new SomQmgrMtaReadCommand object- Parameters:
session
- Session for command which may not be nullobject
- Result handler object which may not be nulllistener
- Listener object to be notified when command completes, which may be null
-
SomQmgrMtaReadCommand
public SomQmgrMtaReadCommand(SomSession session, SomQmgrSelector sel, SomQmgrHandler object, SomCommandListener listener)
Create a new SomQmgrMtaReadCommand object- Parameters:
session
- Session for command which may not be nullsel
- Selector object for command which may be nullobject
- Result handler object which may not be nulllistener
- Listener object to be notified when command completes, which may be null
-
-
Method Detail
-
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
-
-