Interface TypedResponseWriter
- All Known Implementing Classes:
ResultBuilderBackedTypedResponseWriter
public interface TypedResponseWriter
-
Method Summary
Modifier and TypeMethodDescriptionvoid
writeEvent
(TypedRecord<?> event) void
writeEventOnCommand
(long eventKey, Intent eventState, UnpackedObject eventValue, TypedRecord<?> command) void
writeRejectionOnCommand
(TypedRecord<?> command, RejectionType type, String reason) void
writeResponse
(long eventKey, Intent eventState, UnpackedObject eventValue, ValueType valueType, long requestId, int requestStreamId)
-
Method Details
-
writeRejectionOnCommand
-
writeEvent
-
writeEventOnCommand
void writeEventOnCommand(long eventKey, Intent eventState, UnpackedObject eventValue, TypedRecord<?> command) -
writeResponse
void writeResponse(long eventKey, Intent eventState, UnpackedObject eventValue, ValueType valueType, long requestId, int requestStreamId)
-