Class FullDuplexPacketPortDecorator<PM extends PortMetrics>

    • Constructor Detail

      • FullDuplexPacketPortDecorator

        public FullDuplexPacketPortDecorator​(Port<PM> aPort)
        Decorates the given Port with full duplex Segment multiplexer functionality.
        Parameters:
        aPort - The Port to be decorated.
      • FullDuplexPacketPortDecorator

        public FullDuplexPacketPortDecorator​(Port<PM> aPort,
                                             TransmissionMetrics aTransmissionMetrics)
        Decorates the given Port with full duplex Segment multiplexer functionality as of the given arguments.
        Parameters:
        aPort - The Port to be decorated.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
      • FullDuplexPacketPortDecorator

        public FullDuplexPacketPortDecorator​(Port<PM> aPort,
                                             org.refcodes.numerical.Endianess aEndianess,
                                             org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm)
        Decorates the given Port with full duplex Segment multiplexer functionality as of the given arguments.
        Parameters:
        aPort - The Port to be decorated.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
      • FullDuplexPacketPortDecorator

        public FullDuplexPacketPortDecorator​(Port<PM> aPort,
                                             org.refcodes.numerical.Endianess aEndianess,
                                             org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                             org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode)
        Decorates the given Port with full duplex Segment multiplexer functionality as of the given arguments.
        Parameters:
        aPort - The Port to be decorated.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
      • FullDuplexPacketPortDecorator

        public FullDuplexPacketPortDecorator​(Port<PM> aPort,
                                             org.refcodes.numerical.Endianess aEndianess,
                                             byte[] aTransmissionMagicBytes,
                                             byte[] aAcknowledgeMagicBytes,
                                             int aAcknowledgeRetryNumber,
                                             org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                             org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode)
        Decorates the given Port with full duplex Segment multiplexer functionality as of the given arguments.
        Parameters:
        aPort - The Port to be decorated.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        aTransmissionMagicBytes - The magic bytes identifying a regular transmission (as of transmitSegment(Segment) or the like).
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAcknowledgeRetryNumber - The number of retries waiting for an ACK from the return channel.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
      • FullDuplexPacketPortDecorator

        public FullDuplexPacketPortDecorator​(Port<PM> aPort,
                                             org.refcodes.numerical.Endianess aEndianess,
                                             byte[] aTransmissionMagicBytes,
                                             byte[] aAcknowledgeMagicBytes,
                                             int aAcknowledgeRetryNumber,
                                             long aAcknowledgeTimeoutInMs,
                                             int aSequenceNumberWidth,
                                             org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                             org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode)
        Decorates the given Port with full duplex Segment multiplexer functionality as of the given arguments.
        Parameters:
        aPort - The Port to be decorated.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        aTransmissionMagicBytes - The magic bytes identifying a regular transmission (as of transmitSegment(Segment) or the like).
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAcknowledgeRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAcknowledgeTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aSequenceNumberWidth - The width in bytes to be used for the binary sequence number representation.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
      • FullDuplexPacketPortDecorator

        public FullDuplexPacketPortDecorator​(Port<PM> aPort,
                                             org.refcodes.numerical.Endianess aEndianess,
                                             byte[] aTransmissionMagicBytes,
                                             byte[] aAcknowledgeMagicBytes,
                                             org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm)
        Decorates the given Port with full duplex Segment multiplexer functionality as of the given arguments.
        Parameters:
        aPort - The Port to be decorated.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        aTransmissionMagicBytes - The magic bytes identifying a regular transmission (as of transmitSegment(Segment) or the like).
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
      • FullDuplexPacketPortDecorator

        public FullDuplexPacketPortDecorator​(Port<PM> aPort,
                                             org.refcodes.numerical.Endianess aEndianess,
                                             byte[] aTransmissionMagicBytes,
                                             byte[] aAcknowledgeMagicBytes,
                                             org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                             org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode)
        Decorates the given Port with full duplex Segment multiplexer functionality as of the given arguments.
        Parameters:
        aPort - The Port to be decorated.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        aTransmissionMagicBytes - The magic bytes identifying a regular transmission (as of transmitSegment(Segment) or the like).
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
      • FullDuplexPacketPortDecorator

        public FullDuplexPacketPortDecorator​(Port<PM> aPort,
                                             org.refcodes.numerical.Endianess aEndianess,
                                             byte[] aTransmissionMagicBytes,
                                             byte[] aAcknowledgeMagicBytes,
                                             int aAcknowledgeRetryNumber,
                                             long aAcknowledgeTimeoutInMs,
                                             int aSequenceNumberInitValue,
                                             int aSequenceNumberWidth,
                                             org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                             org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode)
        Decorates the given Port with full duplex Segment multiplexer functionality as of the given arguments.
        Parameters:
        aPort - The Port to be decorated.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        aTransmissionMagicBytes - The magic bytes identifying a regular transmission (as of transmitSegment(Segment) or the like).
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAcknowledgeRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAcknowledgeTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aSequenceNumberInitValue - The initialization value for the sequence number counter.
        aSequenceNumberWidth - The width in bytes to be used for the binary sequence number representation.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
      • FullDuplexPacketPortDecorator

        public FullDuplexPacketPortDecorator​(Port<PM> aPort,
                                             ExecutorService aExecutorService)
        Decorates the given Port with full duplex Segment multiplexer functionality.
        Parameters:
        aPort - The Port to be decorated.
        aExecutorService - The ExecutorService to be used when creating Thread instances for handling input and output data simultaneously.
      • FullDuplexPacketPortDecorator

        public FullDuplexPacketPortDecorator​(Port<PM> aPort,
                                             TransmissionMetrics aTransmissionMetrics,
                                             ExecutorService aExecutorService)
        Decorates the given Port with full duplex Segment multiplexer functionality as of the given arguments.
        Parameters:
        aPort - The Port to be decorated.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        aExecutorService - The ExecutorService to be used when creating Thread instances for handling input and output data simultaneously.
      • FullDuplexPacketPortDecorator

        public FullDuplexPacketPortDecorator​(Port<PM> aPort,
                                             org.refcodes.numerical.Endianess aEndianess,
                                             org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                             ExecutorService aExecutorService)
        Decorates the given Port with full duplex Segment multiplexer functionality as of the given arguments.
        Parameters:
        aPort - The Port to be decorated.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aExecutorService - The ExecutorService to be used when creating Thread instances for handling input and output data simultaneously.
      • FullDuplexPacketPortDecorator

        public FullDuplexPacketPortDecorator​(Port<PM> aPort,
                                             org.refcodes.numerical.Endianess aEndianess,
                                             org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                             org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode,
                                             ExecutorService aExecutorService)
        Decorates the given Port with full duplex Segment multiplexer functionality as of the given arguments.
        Parameters:
        aPort - The Port to be decorated.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        aExecutorService - The ExecutorService to be used when creating Thread instances for handling input and output data simultaneously.
      • FullDuplexPacketPortDecorator

        public FullDuplexPacketPortDecorator​(Port<PM> aPort,
                                             org.refcodes.numerical.Endianess aEndianess,
                                             byte[] aTransmissionMagicBytes,
                                             byte[] aAcknowledgeMagicBytes,
                                             int aAcknowledgeRetryNumber,
                                             org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                             org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode,
                                             ExecutorService aExecutorService)
        Decorates the given Port with full duplex Segment multiplexer functionality as of the given arguments.
        Parameters:
        aPort - The Port to be decorated.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        aTransmissionMagicBytes - The magic bytes identifying a regular transmission (as of transmitSegment(Segment) or the like).
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAcknowledgeRetryNumber - The number of retries waiting for an ACK from the return channel.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        aExecutorService - The ExecutorService to be used when creating Thread instances for handling input and output data simultaneously.
      • FullDuplexPacketPortDecorator

        public FullDuplexPacketPortDecorator​(Port<PM> aPort,
                                             org.refcodes.numerical.Endianess aEndianess,
                                             byte[] aTransmissionMagicBytes,
                                             byte[] aAcknowledgeMagicBytes,
                                             int aAcknowledgeRetryNumber,
                                             long aAcknowledgeTimeoutInMs,
                                             int aSequenceNumberWidth,
                                             org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                             org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode,
                                             ExecutorService aExecutorService)
        Decorates the given Port with full duplex Segment multiplexer functionality as of the given arguments.
        Parameters:
        aPort - The Port to be decorated.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        aTransmissionMagicBytes - The magic bytes identifying a regular transmission (as of transmitSegment(Segment) or the like).
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAcknowledgeRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAcknowledgeTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aSequenceNumberWidth - The width in bytes to be used for the binary sequence number representation.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        aExecutorService - The ExecutorService to be used when creating Thread instances for handling input and output data simultaneously.
      • FullDuplexPacketPortDecorator

        public FullDuplexPacketPortDecorator​(Port<PM> aPort,
                                             org.refcodes.numerical.Endianess aEndianess,
                                             byte[] aTransmissionMagicBytes,
                                             byte[] aAcknowledgeMagicBytes,
                                             org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                             ExecutorService aExecutorService)
        Decorates the given Port with full duplex Segment multiplexer functionality as of the given arguments.
        Parameters:
        aPort - The Port to be decorated.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        aTransmissionMagicBytes - The magic bytes identifying a regular transmission (as of transmitSegment(Segment) or the like).
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aExecutorService - The ExecutorService to be used when creating Thread instances for handling input and output data simultaneously.
      • FullDuplexPacketPortDecorator

        public FullDuplexPacketPortDecorator​(Port<PM> aPort,
                                             org.refcodes.numerical.Endianess aEndianess,
                                             byte[] aTransmissionMagicBytes,
                                             byte[] aAcknowledgeMagicBytes,
                                             org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                             org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode,
                                             ExecutorService aExecutorService)
        Decorates the given Port with full duplex Segment multiplexer functionality as of the given arguments.
        Parameters:
        aPort - The Port to be decorated.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        aTransmissionMagicBytes - The magic bytes identifying a regular transmission (as of transmitSegment(Segment) or the like).
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        aExecutorService - The ExecutorService to be used when creating Thread instances for handling input and output data simultaneously.
      • FullDuplexPacketPortDecorator

        public FullDuplexPacketPortDecorator​(Port<PM> aPort,
                                             org.refcodes.numerical.Endianess aEndianess,
                                             byte[] aTransmissionMagicBytes,
                                             byte[] aAcknowledgeMagicBytes,
                                             int aAcknowledgeRetryNumber,
                                             long aAcknowledgeTimeoutInMs,
                                             int aSequenceNumberInitValue,
                                             int aSequenceNumberWidth,
                                             org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                             org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode,
                                             ExecutorService aExecutorService)
        Decorates the given Port with full duplex Segment multiplexer functionality as of the given arguments.
        Parameters:
        aPort - The Port to be decorated.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        aTransmissionMagicBytes - The magic bytes identifying a regular transmission (as of transmitSegment(Segment) or the like).
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAcknowledgeRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAcknowledgeTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aSequenceNumberInitValue - The initialization value for the sequence number counter.
        aSequenceNumberWidth - The width in bytes to be used for the binary sequence number representation.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        aExecutorService - The ExecutorService to be used when creating Thread instances for handling input and output data simultaneously.