public abstract class CommandEvent extends Object
| Constructor and Description |
|---|
CommandEvent(int requestId,
ConnectionDescription connectionDescription,
String commandName)
Construct an instance.
|
| Modifier and Type | Method and Description |
|---|---|
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,
String commandName)
requestId - the request idconnectionDescription - the connection descriptioncommandName - the command namepublic int getRequestId()
public ConnectionDescription getConnectionDescription()
public String getCommandName()