Module org.refcodes.serial
Package org.refcodes.serial
Interface OutputReturnStreamAccessor.OutputReturnStreamBuilder<B extends OutputReturnStreamAccessor.OutputReturnStreamBuilder<?>>
- Type Parameters:
B
- The builder which implements theOutputReturnStreamAccessor.OutputReturnStreamBuilder
.
- All Known Implementing Classes:
StopAndWaitPacketInputStream.Builder
- Enclosing interface:
- OutputReturnStreamAccessor
public static interface OutputReturnStreamAccessor.OutputReturnStreamBuilder<B extends OutputReturnStreamAccessor.OutputReturnStreamBuilder<?>>
Provides a mutator for an output return stream property.
-
Method Summary
Modifier and TypeMethodDescriptionwithReturnStream
(OutputStream aReturnStream) Sets the output return stream to use and returns this builder as of the Builder-Pattern.
-
Method Details
-
withReturnStream
Sets the output return stream to use and returns this builder as of the Builder-Pattern.- Parameters:
aReturnStream
- The output return stream to be stored by the output return stream property.- Returns:
- This
OutputReturnStreamAccessor.OutputReturnStreamBuilder
instance to continue configuration.
-