Package io.activej.csp.dsl
Interface WithChannelTransformer<B,I,O>
- All Superinterfaces:
ChannelConsumerTransformer<O,,ChannelConsumer<I>> ChannelSupplierTransformer<I,,ChannelSupplier<O>> ChannelTransformer<I,,O> HasChannelInput<I>,HasChannelOutput<O>,WithChannelInput<B,,I> WithChannelOutput<B,O>
- All Known Implementing Classes:
AbstractChannelTransformer,ChannelByteChunker,ChannelByteRanger,ChannelFrameDecoder,ChannelFrameEncoder
public interface WithChannelTransformer<B,I,O>
extends WithChannelInput<B,I>, WithChannelOutput<B,O>, ChannelTransformer<I,O>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ChannelConsumer<I>transform(ChannelConsumer<O> consumer) default ChannelSupplier<O>transform(ChannelSupplier<I> supplier) Methods inherited from interface io.activej.csp.dsl.HasChannelInput
getInputMethods inherited from interface io.activej.csp.dsl.HasChannelOutput
getOutputMethods inherited from interface io.activej.csp.dsl.WithChannelInput
withInputMethods inherited from interface io.activej.csp.dsl.WithChannelOutput
withOutput
-
Method Details
-
transform
- Specified by:
transformin interfaceChannelSupplierTransformer<B,I>
-
transform
- Specified by:
transformin interfaceChannelConsumerTransformer<B,I>
-