public class ConnectorCallbackBase implements ConnectorCallback
Base implementation of interface ConnectorCallback - add logging and interface RequestTimer monitoring.
| Modifier and Type | Class and Description |
|---|---|
static class |
ConnectorCallbackBase.Companion |
| Modifier and Type | Field and Description |
|---|---|
static ConnectorCallbackBase.Companion |
Companion |
| Constructor and Description |
|---|
ConnectorCallbackBase(java.lang.String applicationId,
ConnectorType connectorType)
Base implementation of
interface ConnectorCallback - add logging and interface RequestTimer monitoring. |
| Modifier and Type | Method and Description |
|---|---|
void |
eventAnswered(Event event)
Called by
ConnectorController.handle when the event is answered. |
void |
eventSkipped(Event event)
Called by
ConnectorController.handle when the event is not handled. |
void |
exceptionThrown(Event event,
java.lang.Throwable throwable)
Called by
ConnectorController.handle when an exception is thrown. |
java.lang.String |
getApplicationId()
The application id.
|
ConnectorType |
getConnectorType() |
void |
userLockReleased(Event event)
Called by
ConnectorController.handle when the user lock is released. |
void |
userLocked(Event event)
Called by
ConnectorController.handle when the user is locked. |
eventAnswered, eventSkipped, exceptionThrown, getApplicationId, userLockReleased, userLockedpublic static ConnectorCallbackBase.Companion Companion
public ConnectorCallbackBase(@NotNull
java.lang.String applicationId,
@NotNull
ConnectorType connectorType)
Base implementation of interface ConnectorCallback - add logging and interface RequestTimer monitoring.
applicationId - The application id.interface ConnectorCallback,
interface RequestTimerpublic void userLocked(@NotNull
Event event)
Called by ConnectorController.handle when the user is locked.
ConnectorController.handlepublic void userLockReleased(@NotNull
Event event)
Called by ConnectorController.handle when the user lock is released.
ConnectorController.handlepublic void eventSkipped(@NotNull
Event event)
Called by ConnectorController.handle when the event is not handled.
ConnectorController.handlepublic void eventAnswered(@NotNull
Event event)
Called by ConnectorController.handle when the event is answered.
ConnectorController.handlepublic void exceptionThrown(@NotNull
Event event,
@NotNull
java.lang.Throwable throwable)
Called by ConnectorController.handle when an exception is thrown.
ConnectorController.handle@NotNull public java.lang.String getApplicationId()
The application id.
@NotNull public ConnectorType getConnectorType()