Class LegacyEmitterImpl<T>
- java.lang.Object
-
- io.smallrye.reactive.messaging.providers.extension.LegacyEmitterImpl<T>
-
- Type Parameters:
T- the type of payload or message
- All Implemented Interfaces:
Emitter<T>,EmitterType,MessagePublisherProvider<T>
public class LegacyEmitterImpl<T> extends Object implements Emitter<T>, MessagePublisherProvider<T>
Implementation of the old (legacy) Emitter interface. This implementation delegates to the new implementation.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcomplete()voiderror(Exception e)org.reactivestreams.Publisher<Message<? extends T>>getPublisher()booleanisCancelled()booleanisRequested()Emitter<T>send(T msg)
-
-
-
Method Detail
-
getPublisher
public org.reactivestreams.Publisher<Message<? extends T>> getPublisher()
- Specified by:
getPublisherin interfaceMessagePublisherProvider<T>
-
isCancelled
public boolean isCancelled()
- Specified by:
isCancelledin interfaceEmitter<T>
-
isRequested
public boolean isRequested()
- Specified by:
isRequestedin interfaceEmitter<T>
-
-