public abstract class CommandEvent
extends java.lang.Object
Constructor and Description |
---|
CommandEvent(int requestId,
ConnectionDescription connectionDescription,
java.lang.String commandName)
Construct an instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCommandName()
Gets the name of the command.
|
ConnectionDescription |
getConnectionDescription()
Gets the description of the connection to which the operation will be sent.
|
int |
getRequestId()
Gets the request identifier
|
public CommandEvent(int requestId, ConnectionDescription connectionDescription, java.lang.String commandName)
requestId
- the request idconnectionDescription
- the connection descriptioncommandName
- the command namepublic int getRequestId()
public ConnectionDescription getConnectionDescription()
public java.lang.String getCommandName()