Uses of Class
org.refcodes.serial.StopAndWaitPacketStreamSegmentDecorator
-
Uses of StopAndWaitPacketStreamSegmentDecorator in org.refcodes.serial
Methods in org.refcodes.serial that return StopAndWaitPacketStreamSegmentDecoratorModifier and TypeMethodDescriptionStopAndWaitPacketStreamSegmentDecorator.Builder.build()Returns theStopAndWaitSegmentDecoratorinstance build according to theStopAndWaitPacketStreamSegmentDecorator.Builderconfiguration.static <DECORATEE extends Segment>
StopAndWaitPacketStreamSegmentDecorator<DECORATEE>SerialSugar.stopAndWaitPacketStreamSegment(DECORATEE aDecoratee, int aBlockSize, int aPacketLengthWidth, byte[] aPacketMagicBytes, byte[] aLastPacketMagicBytes, int aSequenceNumberInitValue, int aSequenceNumberWidth, org.refcodes.mixin.ConcatenateMode aSequenceNumberConcatenateMode, SegmentPackager aPacketSegmentPackager, byte[] aAcknowledgeMagicBytes, int aAckRetryNumber, long aAckTimeoutInMs, SegmentPackager aAckSegmentPackager, org.refcodes.numerical.Endianess aEndianess) Constructs an according packet-stream decorator instance wrapping the givenOutputStream.static <DECORATEE extends Segment>
StopAndWaitPacketStreamSegmentDecorator<DECORATEE>SerialSugar.stopAndWaitPacketStreamSegment(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Constructs an according packet-stream decorator instance wrapping the givenOutputStream.