Class Fragmentation

  • All Implemented Interfaces:
    Lifecycle
    Direct Known Subclasses:
    FRAG, FRAG2, FRAG3

    public class Fragmentation
    extends Protocol
    Base class for all fragmentation protocols.
    Since:
    5.0.0
    Author:
    Bela Ban
    • Field Detail

      • frag_size

        protected int frag_size
      • num_frags_sent

        protected java.util.concurrent.atomic.LongAdder num_frags_sent
      • num_frags_received

        protected java.util.concurrent.atomic.LongAdder num_frags_received
    • Constructor Detail

      • Fragmentation

        public Fragmentation()
    • Method Detail

      • getFragSize

        public int getFragSize()
      • setFragSize

        public <T extends Fragmentation> T setFragSize​(int f)
      • getNumberOfSentFragments

        public long getNumberOfSentFragments()
      • getNumberOfReceivedFragments

        public long getNumberOfReceivedFragments()