Uses of Interface
org.refcodes.serial.SerialTransceiver
-
-
Uses of SerialTransceiver in org.refcodes.serial
Subinterfaces of SerialTransceiver in org.refcodes.serial Modifier and Type Interface Description interfacePort<PM extends PortMetrics>APortenriches aSerialTransceiverwithPortMetricsdescribing theSerialTransceiver's physical properties.Classes in org.refcodes.serial that implement SerialTransceiver Modifier and Type Class Description classAbstractPort<PM extends PortMetrics>AAbstractPortis a basePortimplementationclassAbstractPortDecorator<PM extends PortMetrics>classCrossoverLoopbackPortTheCrossoverLoopbackPortis an in-memory implementation of aPortwhich loops its output directly to the "connected"LoopbackPortcounterpart ("other end of the wire").classFullDuplexPacketPortDecorator<PM extends PortMetrics>AFullDuplexPacketPortDecoratordecorates aPortfor its usage in Full-Duplex mode by chunking a transmission ofSegmentmessages (or any transmission finished off by callingAbstractPortDecorator.flush()) into small packets.classFullDuplexTransmissionPortDecorator<PM extends PortMetrics>AFullDuplexTransmissionPortDecoratordecorates aPortfor its usage in Full-Duplex mode regarding the transmission ofSegmentmessages (or any transmission finished off by callingAbstractPortDecorator.flush()).classLoopbackPortTheLoopbackPortis an in-memory implementation of aPortwhich loops its output directly back to its input.Methods in org.refcodes.serial with parameters of type SerialTransceiver Modifier and Type Method Description voidMagicBytesSectionDispatcher. receiveFrom(SerialTransceiver aSerialTransceiver, int aLength)(Re-)initializes this instance by receiving the accordingSequencefrom the givenSerialTransceiver'sInputStream.voidMagicBytesSegmentDispatcher. 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.voidAbstractMagicBytesTransmissionDispatcher. 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 SerialTransceiver Constructor Description ReceiveSegmentConsumerDaemon(SegmentConsumer<SEGMENT> aSegmentConsumer, SEGMENT aSegment, SerialTransceiver aSerialTransceiver)TransmitSegmentConsumerDaemon(SegmentConsumer<SEGMENT> aSegmentConsumer, SEGMENT aSegment, SerialTransceiver aReceiver)
-