CommandFailedEvent, CommandStartedEvent, CommandSucceededEventpublic abstract class CommandEvent extends Object
| Constructor | Description |
|---|---|
CommandEvent(int requestId,
ConnectionDescription connectionDescription,
String commandName) |
Construct an instance.
|
| Modifier and Type | Method | 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()