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 floatSPEED_FAST_DOUBLEstatic floatSPEED_FAST_FULLstatic floatSPEED_REALTIMEstatic floatSPEED_SLOW_HALF-
Fields inherited from class org.apache.plc4x.java.utils.pcap.netty.config.PcapChannelConfig
ALL_PORTS, ALL_PROTOCOLS
-
-
Constructor Summary
Constructors Constructor Description PcapReplayChannelConfig(io.netty.channel.Channel channel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFilter()Map<io.netty.channel.ChannelOption<?>,Object>getOptions()floatgetSpeedFactor()booleanisLoop()voidsetFilter(String filter)voidsetLoop(boolean loop)<T> booleansetOption(io.netty.channel.ChannelOption<T> option, T value)voidsetSpeedFactor(float speedFactor)-
Methods inherited from class org.apache.plc4x.java.utils.pcap.netty.config.PcapChannelConfig
clone, getMacBasedFilterString, getMacBasedFilterString, getPacketHandler, getPort, getProtocolId, isResolveMacAddress, isSupportVlans, setPacketHandler, setPort, setProtocolId
-
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 Detail
-
SPEED_SLOW_HALF
public static final float SPEED_SLOW_HALF
- See Also:
- Constant Field Values
-
SPEED_REALTIME
public static final float SPEED_REALTIME
- See Also:
- Constant Field Values
-
SPEED_FAST_DOUBLE
public static final float SPEED_FAST_DOUBLE
- See Also:
- Constant Field Values
-
SPEED_FAST_FULL
public static final float SPEED_FAST_FULL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getOptions
public Map<io.netty.channel.ChannelOption<?>,Object> getOptions()
- Specified by:
getOptionsin interfaceio.netty.channel.ChannelConfig- Overrides:
getOptionsin classPcapChannelConfig
-
setOption
public <T> boolean setOption(io.netty.channel.ChannelOption<T> option, T value)- Specified by:
setOptionin interfaceio.netty.channel.ChannelConfig- Overrides:
setOptionin classPcapChannelConfig
-
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)
-
-