java.lang.Object
com.slytechs.jnet.jnetpcap.NetPcap.PcapProContext
- Enclosing class:
NetPcap
Context structure for the PcapPro class and its numerous processors.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal PcapTypeThe pcap type.final Stack<PcapProConfigurator<?>> The post processors.final Stack<PcapProConfigurator<?>> The pre processors. -
Method Summary
Modifier and TypeMethodDescriptioncom.slytechs.jnet.jnetruntime.time.TimeSourceGets the time source.setTimeSource(com.slytechs.jnet.jnetruntime.time.TimeSource timeSource) Sets the time source.
-
Field Details
-
preProcessors
The pre processors. -
postProcessors
The post processors. -
pcapType
The pcap type.
-
-
Method Details
-
getTimeSource
public com.slytechs.jnet.jnetruntime.time.TimeSource getTimeSource()Gets the time source.- Returns:
- the timeSource
-
setTimeSource
public NetPcap.PcapProContext setTimeSource(com.slytechs.jnet.jnetruntime.time.TimeSource timeSource) Sets the time source.- Parameters:
timeSource- the timeSource to set- Returns:
- the pcap pro context
-