Uses of Class
de.quantummaid.eventmaid.useCases.payloadAndErrorPayload.PayloadAndErrorPayload
-
-
Uses of PayloadAndErrorPayload in de.quantummaid.eventmaid.serializedMessageBus
Methods in de.quantummaid.eventmaid.serializedMessageBus that return PayloadAndErrorPayload Modifier and Type Method Description PayloadAndErrorPayload<Object,Object>SerializedMessageBus. invokeAndWait(EventType eventType, Object data)Sends the data and waits for a matching response or an exception.PayloadAndErrorPayload<Object,Object>SerializedMessageBus. invokeAndWait(EventType eventType, Object data, long timeout, TimeUnit unit)Sends the data and waits for a matching response, an exception or the timeout to expire.PayloadAndErrorPayload<Object,Object>SerializedMessageBusImpl. invokeAndWait(EventType eventType, Object data)PayloadAndErrorPayload<Object,Object>SerializedMessageBusImpl. invokeAndWait(EventType eventType, Object data, long timeout, TimeUnit unit)<P,E>
PayloadAndErrorPayload<P,E>SerializedMessageBus. invokeAndWaitDeserialized(EventType eventType, Object data, Class<P> responseClass, Class<E> errorPayloadClass)Serializes and sends the data on theMessageBus.<P,E>
PayloadAndErrorPayload<P,E>SerializedMessageBus. invokeAndWaitDeserialized(EventType eventType, Object data, Class<P> responseClass, Class<E> errorPayloadClass, long timeout, TimeUnit unit)Serializes and sends the data on theMessageBus.<P,E>
PayloadAndErrorPayload<P,E>SerializedMessageBusImpl. invokeAndWaitDeserialized(EventType eventType, Object data, Class<P> responseClass, Class<E> errorPayloadClass)<P,E>
PayloadAndErrorPayload<P,E>SerializedMessageBusImpl. invokeAndWaitDeserialized(EventType eventType, Object data, Class<P> responseClass, Class<E> errorPayloadClass, long timeout, TimeUnit unit)PayloadAndErrorPayload<Object,Object>SerializedMessageBus. invokeAndWaitSerializedOnly(EventType eventType, Object data)Serializes the data before sending it and waiting for a matching response or an exception.PayloadAndErrorPayload<Object,Object>SerializedMessageBus. invokeAndWaitSerializedOnly(EventType eventType, Object data, long timeout, TimeUnit unit)Serializes the data before sending it and waiting for a matching response, an exception or the expiration of the timeout.PayloadAndErrorPayload<Object,Object>SerializedMessageBusImpl. invokeAndWaitSerializedOnly(EventType eventType, Object data)PayloadAndErrorPayload<Object,Object>SerializedMessageBusImpl. invokeAndWaitSerializedOnly(EventType eventType, Object data, long timeout, TimeUnit unit)Method parameters in de.quantummaid.eventmaid.serializedMessageBus with type arguments of type PayloadAndErrorPayload Modifier and Type Method Description SubscriptionIdSerializedMessageBus. subscribe(CorrelationId correlationId, Subscriber<PayloadAndErrorPayload<Map<String,Object>,Map<String,Object>>> subscriber)Adds the givenSubscriberfor all not deserialized messages of the givenCorrelationId.SubscriptionIdSerializedMessageBus. subscribe(EventType eventType, Subscriber<PayloadAndErrorPayload<Map<String,Object>,Map<String,Object>>> subscriber)Adds the givenSubscriberfor all not deserialized messages of the givenEventType.SubscriptionIdSerializedMessageBusImpl. subscribe(CorrelationId correlationId, Subscriber<PayloadAndErrorPayload<Map<String,Object>,Map<String,Object>>> subscriber)SubscriptionIdSerializedMessageBusImpl. subscribe(EventType eventType, Subscriber<PayloadAndErrorPayload<Map<String,Object>,Map<String,Object>>> subscriber)<P,E>
SubscriptionIdSerializedMessageBus. subscribeDeserialized(CorrelationId correlationId, Subscriber<PayloadAndErrorPayload<P,E>> subscriber, Class<P> responseClass, Class<E> errorClass)Adds the givenSubscriberfor all messages of the givenEventType.<P,E>
SubscriptionIdSerializedMessageBus. subscribeDeserialized(EventType eventType, Subscriber<PayloadAndErrorPayload<P,E>> subscriber, Class<P> responseClass, Class<E> errorClass)Adds the givenSubscriberfor all messages of the givenEventType.<P,E>
SubscriptionIdSerializedMessageBusImpl. subscribeDeserialized(CorrelationId correlationId, Subscriber<PayloadAndErrorPayload<P,E>> subscriber, Class<P> responseClass, Class<E> errorClass)<P,E>
SubscriptionIdSerializedMessageBusImpl. subscribeDeserialized(EventType eventType, Subscriber<PayloadAndErrorPayload<P,E>> subscriber, Class<P> responseClass, Class<E> errorClass) -
Uses of PayloadAndErrorPayload in de.quantummaid.eventmaid.useCases.payloadAndErrorPayload
Methods in de.quantummaid.eventmaid.useCases.payloadAndErrorPayload that return PayloadAndErrorPayload Modifier and Type Method Description static <P,E>
PayloadAndErrorPayload<P,E>PayloadAndErrorPayload. payloadAndErrorPayload(P payload, E errorPayload)Factory method to create a newPayloadAndErrorPayloadobject for the given payloads. -
Uses of PayloadAndErrorPayload in de.quantummaid.eventmaid.useCases.useCaseBus
Methods in de.quantummaid.eventmaid.useCases.useCaseBus that return PayloadAndErrorPayload Modifier and Type Method Description <P,E>
PayloadAndErrorPayload<P,E>UseCaseBus. invokeAndWait(EventType eventType, Object data, Class<P> payloadClass, Class<E> errorPayloadClass)Invokes the correct use case based on theEventTypewith the send data.<P,E>
PayloadAndErrorPayload<P,E>UseCaseBus. invokeAndWait(EventType eventType, Object data, Class<P> payloadClass, Class<E> errorPayloadClass, long timeout, TimeUnit unit)Invokes the correct use case based on theEventTypewith the send data, which is serialized before sending it.PayloadAndErrorPayload<Object,Object>UseCaseBus. invokeAndWaitNotDeserialized(EventType eventType, Object data)Invokes the correct use case based on theEventTypewith the send data, which is serialized before sending it.PayloadAndErrorPayload<Object,Object>UseCaseBus. invokeAndWaitNotDeserialized(EventType eventType, Object data, long timeout, TimeUnit unit)Invokes the correct use case based on theEventTypewith the send data, which is serialized before sending it.
-