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
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final floatstatic final floatstatic final floatstatic final floatFields inherited from class org.apache.plc4x.java.utils.pcap.netty.config.PcapChannelConfig
ALL_PORTS, ALL_PROTOCOLSFields inherited from class io.netty.channel.DefaultChannelConfig
channel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatbooleanisLoop()voidvoidsetLoop(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, setProtocolIdMethods 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, validateMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-
SPEED_SLOW_HALF
public static final float SPEED_SLOW_HALF- See Also:
-
SPEED_REALTIME
public static final float SPEED_REALTIME- See Also:
-
SPEED_FAST_DOUBLE
public static final float SPEED_FAST_DOUBLE- See Also:
-
SPEED_FAST_FULL
public static final float SPEED_FAST_FULL- See Also:
-
-
Constructor Details
-
PcapReplayChannelConfig
public PcapReplayChannelConfig(io.netty.channel.Channel channel)
-
-
Method Details
-
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
-
setFilter
-