Package com.isode.som.qmgr
Class SomQmgrMessageReadCommand
java.lang.Object
com.isode.som.SomCommand
com.isode.som.qmgr.SomQmgrCommand
com.isode.som.qmgr.SomQmgrMessageReadCommand
- All Implemented Interfaces:
SomResponseProcessor
This class implements the command which reads information about a message
- Author:
- tc
-
Field Summary
Fields inherited from class com.isode.som.SomCommand
opListener, opSession -
Constructor Summary
ConstructorsConstructorDescriptionSomQmgrMessageReadCommand(SomSession session, String chan, SomQmgrSelector sel, SomQmgrHandler object, SomCommandListener listener) Create a new SomQmgrMessageReadCommand object, with a selector but no MTASomQmgrMessageReadCommand(SomSession session, String chan, String mta, SomQmgrHandler object, SomCommandListener listener) Create a new SomQmgrMessageReadCommand objectSomQmgrMessageReadCommand(SomSession session, String chan, String mta, SomQmgrSelector sel, SomQmgrHandler object, SomCommandListener listener) Create a new SomQmgrMessageReadCommand object, with a selector -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a selector into a command objectReturn string representation of 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
-
SomQmgrMessageReadCommand
public SomQmgrMessageReadCommand(SomSession session, String chan, String mta, SomQmgrHandler object, SomCommandListener listener) Create a new SomQmgrMessageReadCommand object- Parameters:
session- Session in which to construct commandchan- Channel name for command which may not be nullmta- MTA name for command which may not be nullobject- Result handler for command which may not be nulllistener- Listener object to be notified when command completes which may be null
-
SomQmgrMessageReadCommand
public SomQmgrMessageReadCommand(SomSession session, String chan, String mta, SomQmgrSelector sel, SomQmgrHandler object, SomCommandListener listener) Create a new SomQmgrMessageReadCommand object, with a selector- Parameters:
session- Session in which to construct commandchan- Channel name for command which may not be nullmta- MTA name for command which may not be nullsel- Selector, which may be nullobject- Result handler for command which may not be nulllistener- Listener object to be notified when command completes which may be null
-
SomQmgrMessageReadCommand
public SomQmgrMessageReadCommand(SomSession session, String chan, SomQmgrSelector sel, SomQmgrHandler object, SomCommandListener listener) Create a new SomQmgrMessageReadCommand object, with a selector but no MTA- Parameters:
session- Session in which to construct commandchan- Channel name for command which may not be nullsel- Selector, which may be nullobject- Result handler for command which may not be nulllistener- Listener object to be notified when command completes which may be null
-
-
Method Details
-
getCommandString
Return string representation of command- Returns:
- Command string
- Throws:
SomException- on error
-
getSubcommand
-
addSelector
Add a selector into a command object- Parameters:
sel- Selector to add
-