public abstract class SbcInternalEvent extends SbcEvent
SbcEvent.respondToClient(ApiError, SbcEventHandlerResult)
} method.SbcEvent.SbcEventHandlerResult
eventContext, LOG
Constructor and Description |
---|
SbcInternalEvent(SbcContext context) |
Modifier and Type | Method and Description |
---|---|
protected void |
respondToClient(org.apache.kafka.common.requests.ApiError error,
SbcEvent.SbcEventHandlerResult result)
This method is invoked when an operation completes (the
SbcEvent.SbcEventHandlerResult does not indicate that any resources are needed
to continue. |
public SbcInternalEvent(SbcContext context)
protected final void respondToClient(org.apache.kafka.common.requests.ApiError error, SbcEvent.SbcEventHandlerResult result)
SbcEvent
SbcEvent.SbcEventHandlerResult
does not indicate that any resources are needed
to continue. Events which need to respond to clients via a client callback will respond here.respondToClient
in class SbcEvent
error
- the ApiError value for success or failure. handleEvent operations which completed normally will have a result of ApiError.NONE.result
- The SbcEventHandlerResult which was returned from SbcEvent.handleEvent()
}.