Class PcapReplayChannelConfig

java.lang.Object
io.netty.channel.DefaultChannelConfig
org.apache.plc4x.java.utils.pcap.netty.config.PcapChannelConfig
org.apache.plc4x.java.utils.pcapreplay.netty.config.PcapReplayChannelConfig
All Implemented Interfaces:
io.netty.channel.ChannelConfig

public class PcapReplayChannelConfig extends PcapChannelConfig
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final float
     
    static final float
     
    static final float
     
    static final float
     

    Fields inherited from class org.apache.plc4x.java.utils.pcap.netty.config.PcapChannelConfig

    ALL_PORTS, ALL_PROTOCOLS

    Fields inherited from class io.netty.channel.DefaultChannelConfig

    channel
  • Constructor Summary

    Constructors
    Constructor
    Description
    PcapReplayChannelConfig(io.netty.channel.Channel channel)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Map<io.netty.channel.ChannelOption<?>,Object>
     
    float
     
    boolean
     
    void
    setFilter(String filter)
     
    void
    setLoop(boolean loop)
     
    <T> boolean
    setOption(io.netty.channel.ChannelOption<T> option, T value)
     
    void
    setSpeedFactor(float speedFactor)
     

    Methods inherited from class io.netty.channel.DefaultChannelConfig

    autoReadCleared, getAllocator, getConnectTimeoutMillis, getMaxMessagesPerRead, getMaxMessagesPerWrite, getMessageSizeEstimator, getOption, getOptions, getRecvByteBufAllocator, getWriteBufferHighWaterMark, getWriteBufferLowWaterMark, getWriteBufferWaterMark, getWriteSpinCount, isAutoClose, isAutoRead, setAllocator, setAutoClose, setAutoRead, setConnectTimeoutMillis, setMaxMessagesPerRead, setMaxMessagesPerWrite, setMessageSizeEstimator, setOptions, setRecvByteBufAllocator, setWriteBufferHighWaterMark, setWriteBufferLowWaterMark, setWriteBufferWaterMark, setWriteSpinCount, validate

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.netty.channel.ChannelConfig

    getAllocator, getConnectTimeoutMillis, getMaxMessagesPerRead, getMessageSizeEstimator, getOption, getRecvByteBufAllocator, getWriteBufferHighWaterMark, getWriteBufferLowWaterMark, getWriteBufferWaterMark, getWriteSpinCount, isAutoClose, isAutoRead, setAllocator, setAutoClose, setAutoRead, setConnectTimeoutMillis, setMaxMessagesPerRead, setMessageSizeEstimator, setOptions, setRecvByteBufAllocator, setWriteBufferHighWaterMark, setWriteBufferLowWaterMark, setWriteBufferWaterMark, setWriteSpinCount
  • Field Details

  • Constructor Details

    • PcapReplayChannelConfig

      public PcapReplayChannelConfig(io.netty.channel.Channel channel)
  • Method Details

    • getOptions

      public Map<io.netty.channel.ChannelOption<?>,Object> getOptions()
      Specified by:
      getOptions in interface io.netty.channel.ChannelConfig
      Overrides:
      getOptions in class PcapChannelConfig
    • setOption

      public <T> boolean setOption(io.netty.channel.ChannelOption<T> option, T value)
      Specified by:
      setOption in interface io.netty.channel.ChannelConfig
      Overrides:
      setOption in class PcapChannelConfig
    • getSpeedFactor

      public float getSpeedFactor()
    • setSpeedFactor

      public void setSpeedFactor(float speedFactor)
    • isLoop

      public boolean isLoop()
    • setLoop

      public void setLoop(boolean loop)
    • getFilter

      public String getFilter()
    • setFilter

      public void setFilter(String filter)