Package com.isode.som.qmgr
Class SomQmgrUserEventCommand
java.lang.Object
com.isode.som.SomCommand
com.isode.som.qmgr.SomQmgrCommand
com.isode.som.qmgr.SomQmgrUserEventCommand
- All Implemented Interfaces:
SomResponseProcessor
Class representing SOM command to audit user events.
An instance of this class should be created and a type should be set
using
setType(String), followed by optional list of information
parameters using setValue(String, String).-
Field Summary
Fields inherited from class com.isode.som.SomCommand
opListener, opSession -
Constructor Summary
ConstructorsConstructorDescriptionSomQmgrUserEventCommand(SomSession session, SomQmgrHandler object, SomCommandListener listener) Create a new SOM Queue Manager user event command that could be used for audit logging from the UI -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a Selector to the commandprotected StringvoidSet the type of user eventvoidMethods inherited from class com.isode.som.qmgr.SomQmgrCommand
getHandler, processResponseMethods inherited from class com.isode.som.SomCommand
dispatch, getSession, notifyListener, notifyListener, notifyListener
-
Constructor Details
-
SomQmgrUserEventCommand
public SomQmgrUserEventCommand(SomSession session, SomQmgrHandler object, SomCommandListener listener) Create a new SOM Queue Manager user event command that could be used for audit logging from the UI- 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
-
-
Method Details
-
setType
Set the type of user event- Parameters:
type- type, not null
-
setValue
- Parameters:
type- type of user event, not nullvalue- value for user event, may be null
-
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
-