Modifier and Type | Method and Description |
---|---|
Inbox.Builder<I> |
addCommandEndpoint(io.spine.server.delivery.InboxLabel label,
LazyEndpoint<I,CommandEnvelope> lazyEndpoint)
Adds an endpoint for commands which will be delivered through the
Inbox and
marks it with the certain label. |
Inbox.Builder<I> |
addEventEndpoint(io.spine.server.delivery.InboxLabel label,
LazyEndpoint<I,EventEnvelope> lazyEndpoint)
Adds an endpoint for events which will be delivered through the
Inbox and
marks it with the certain label. |
Inbox<I> |
build()
Creates an instance of
Inbox and registers it in the
server-wide Delivery . |
Inbox.Builder<I> |
withBatchListener(BatchDeliveryListener<I> dispatcher)
Allows to specify the listener of the starting and ending batch dispatching operations.
|
public Inbox.Builder<I> addEventEndpoint(io.spine.server.delivery.InboxLabel label, LazyEndpoint<I,EventEnvelope> lazyEndpoint)
Inbox
and
marks it with the certain label.public Inbox.Builder<I> addCommandEndpoint(io.spine.server.delivery.InboxLabel label, LazyEndpoint<I,CommandEnvelope> lazyEndpoint)
Inbox
and
marks it with the certain label.public Inbox.Builder<I> withBatchListener(BatchDeliveryListener<I> dispatcher)