Package com.isode.som.qmgr
Class SomQmgrChannelReadCommand
- java.lang.Object
-
- com.isode.som.SomCommand
-
- com.isode.som.qmgr.SomQmgrCommand
-
- com.isode.som.qmgr.SomQmgrChannelReadCommand
-
- All Implemented Interfaces:
SomResponseProcessor
public class SomQmgrChannelReadCommand extends SomQmgrCommand
This class implements the command which reads information about a channel- Author:
- tc
-
-
Field Summary
-
Fields inherited from class com.isode.som.SomCommand
opListener, opSession
-
-
Constructor Summary
Constructors Constructor Description SomQmgrChannelReadCommand(SomSession session, SomQmgrHandler object, SomCommandListener listener)
SomQmgrChannelReadCommand(SomSession session, SomQmgrSelector sel, SomQmgrHandler handler, SomCommandListener listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addSelector(SomQmgrSelector sel)
Add a selector into a command objectjava.lang.String
getCommandString()
Get the command string to be sent to the Queue Managerjava.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
-
SomQmgrChannelReadCommand
public SomQmgrChannelReadCommand(SomSession session, SomQmgrHandler object, SomCommandListener listener)
-
SomQmgrChannelReadCommand
public SomQmgrChannelReadCommand(SomSession session, SomQmgrSelector sel, SomQmgrHandler handler, SomCommandListener listener)
-
-
Method Detail
-
getSubcommand
public java.lang.String getSubcommand()
-
addSelector
public void addSelector(SomQmgrSelector sel)
Add a selector into a command object- Parameters:
sel
- Selector to add
-
getCommandString
public java.lang.String getCommandString() throws SomException
Get the command string to be sent to the Queue Manager- Overrides:
getCommandString
in classSomCommand
- Returns:
- command string
- Throws:
SomException
- Indicating a problem with the command
-
-