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
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
ConstructorsConstructorDescriptionSomQmgrMtaReadCommand(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
Modifier and TypeMethodDescriptionvoidAdd a Selector to the commandMethods inherited from class com.isode.som.qmgr.SomQmgrCommand
getHandler, processResponseMethods inherited from class com.isode.som.SomCommand
dispatch, getSession, notifyListener, notifyListener, notifyListener
-
Constructor Details
-
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 Details
-
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
-