Uses of Interface
org.refcodes.serial.SerialTransceiver
-
Uses of SerialTransceiver in org.refcodes.serial
Subinterfaces of SerialTransceiver in org.refcodes.serialModifier and TypeInterfaceDescriptioninterfacePort<PM extends PortMetrics>APortenriches aSerialTransceiverwithPortMetricsdescribing theSerialTransceiver's physical properties.Classes in org.refcodes.serial that implement SerialTransceiverModifier and TypeClassDescriptionclassAbstractPort<PM extends PortMetrics>AAbstractPortis a basePortimplementation.classAbstractPortDecorator<PM extends PortMetrics>classTheCrossoverLoopbackPortis an in-memory implementation of aPortwhich loops its output directly to the "connected"LoopbackPortcounterpart ("other end of the wire").classTheLoopbackPortis an in-memory implementation of aPortwhich loops its output directly back to its input.Methods in org.refcodes.serial with parameters of type SerialTransceiverModifier and TypeMethodDescriptionvoidMagicBytesSectionMultiplexer.receiveFrom(SerialTransceiver aSerialTransceiver, int aLength) (Re-)initializes this instance by receiving the accordingSequencefrom the givenSerialTransceiver'sInputStream.voidMagicBytesSegmentMultiplexer.receiveFrom(SerialTransceiver aSerialTransceiver) (Re-)initializes this instance by receiving the accordingSequencefrom the givenSerialTransceiver'sInputStream.default voidSection.receiveFrom(SerialTransceiver aSerialTransceiver, int aLength) (Re-)initializes this instance by receiving the accordingSequencefrom the givenSerialTransceiver'sInputStream.default voidSegment.receiveFrom(SerialTransceiver aSerialTransceiver) (Re-)initializes this instance by receiving the accordingSequencefrom the givenSerialTransceiver'sInputStream.voidAbstractMagicBytesTransmissionMultiplexer.transmitTo(SerialTransceiver aSerialTransceiver) Transmits to the responsibleTransmission: The lastTransmissionwhich was responsible for a transmission's magic bytes will be the responsibleTransmissiontill anotherTransmissionclaims responsibility for a transmsision's magic bytes.default voidTransmission.transmitTo(SerialTransceiver aSerialTransceiver) Transmits theSequencerepresenting the implementing type's instance to the givenSerialTransceiver'sOutputStream.Constructors in org.refcodes.serial with parameters of type SerialTransceiverModifierConstructorDescriptionReceiveSegmentConsumerDaemon(SegmentConsumer<SEGMENT> aSegmentConsumer, SEGMENT aSegment, SerialTransceiver aSerialTransceiver) Instantiates a new receive segment consumer daemon.ReceiveSegmentResultDaemon(SEGMENT aSegment, SerialTransceiver aSerialTransceiver) Instantiates a new receive segment result daemon.TransmitSegmentConsumerDaemon(SegmentConsumer<SEGMENT> aSegmentConsumer, SEGMENT aSegment, SerialTransceiver aReceiver) Instantiates a new transmit segment consumer daemon.TransmitSegmentResultDaemon(SEGMENT aSegment, SerialTransceiver aSerialTransceiver) Instantiates a new transmit segment result daemon.