org.jnetpcap.packet.analysis
Class JAnalysisMap

java.lang.Object
  extended by org.jnetpcap.nio.JMemory
      extended by org.jnetpcap.nio.JBuffer
          extended by org.jnetpcap.nio.JObjectBuffer
              extended by org.jnetpcap.nio.JStructBuffer
                  extended by org.jnetpcap.packet.analysis.AbstractAnalysis<JAnalysisMap,AnalyzerEvent>
                      extended by org.jnetpcap.packet.analysis.JAnalysisMap
All Implemented Interfaces:
java.lang.Iterable<JAnalysis>, JByteBuffer, JAnalysis

public class JAnalysisMap
extends AbstractAnalysis<JAnalysisMap,AnalyzerEvent>
implements JAnalysis

Author:
Mark Bednarczyk, Sly Technologies, Inc.

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jnetpcap.nio.JStructBuffer
JStructBuffer.JStructField
 
Nested classes/interfaces inherited from class org.jnetpcap.nio.JMemory
JMemory.Type
 
Field Summary
static int TYPE
           
 
Fields inherited from class org.jnetpcap.nio.JObjectBuffer
REF
 
Fields inherited from class org.jnetpcap.nio.JMemory
JNETPCAP_LIBRARY_NAME
 
Constructor Summary
JAnalysisMap()
           
 
Method Summary
 void add(JAnalysis analysis)
           
<T extends JAnalysis>
T
getAnalysis(T analysis)
           
 boolean hasAnalysis(int type)
           
<T extends JAnalysis>
boolean
hasAnalysis(T analysis)
           
 java.util.Iterator<JAnalysis> iterator()
           
 
Methods inherited from class org.jnetpcap.packet.analysis.AbstractAnalysis
addListener, getAnalyzer, getSupport, getText, getTitle, getType, hasAnalysis, peer, removeListener, setAnalyzer, setText
 
Methods inherited from class org.jnetpcap.nio.JStructBuffer
calcSize
 
Methods inherited from class org.jnetpcap.nio.JObjectBuffer
getObject, getObject, setObject, setObject, sizeofJObject
 
Methods inherited from class org.jnetpcap.nio.JBuffer
findUTF8String, getByte, getByteArray, getByteArray, getDouble, getFloat, getInt, getLong, getShort, getUByte, getUInt, getUShort, getUTF8Char, getUTF8String, getUTF8String, getUTF8String, getUTF8String, isReadonly, order, order, peer, peer, peer, peer, setByte, setByteArray, setByteBuffer, setDouble, setFloat, setInt, setLong, setShort, setUByte, setUInt, setUShort, transferFrom, transferFrom, transferFrom, transferTo, transferTo, transferTo
 
Methods inherited from class org.jnetpcap.nio.JMemory
check, cleanup, finalize, isInitialized, isJMemoryBasedOwner, isOwner, peer, setSize, size, toDebugString, toHexdump, toHexdump, totalActiveAllocated, totalAllocateCalls, totalAllocated, totalAllocatedSegments0To255Bytes, totalAllocatedSegments256OrAbove, totalDeAllocateCalls, totalDeAllocated, transferFrom, transferFrom, transferFromDirect, transferOwnership, transferTo, transferTo, transferTo, transferTo, transferTo
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jnetpcap.packet.analysis.JAnalysis
getText, getTitle, getType, hasAnalysis, peer
 
Methods inherited from interface org.jnetpcap.nio.JByteBuffer
size
 

Field Detail

TYPE

public static final int TYPE
See Also:
Constant Field Values
Constructor Detail

JAnalysisMap

public JAnalysisMap()
Method Detail

add

public void add(JAnalysis analysis)

getAnalysis

public <T extends JAnalysis> T getAnalysis(T analysis)
Specified by:
getAnalysis in interface JAnalysis
Overrides:
getAnalysis in class AbstractAnalysis<JAnalysisMap,AnalyzerEvent>

hasAnalysis

public <T extends JAnalysis> boolean hasAnalysis(T analysis)
Specified by:
hasAnalysis in interface JAnalysis
Overrides:
hasAnalysis in class AbstractAnalysis<JAnalysisMap,AnalyzerEvent>

hasAnalysis

public boolean hasAnalysis(int type)
Specified by:
hasAnalysis in interface JAnalysis
Overrides:
hasAnalysis in class AbstractAnalysis<JAnalysisMap,AnalyzerEvent>

iterator

public java.util.Iterator<JAnalysis> iterator()
Specified by:
iterator in interface java.lang.Iterable<JAnalysis>
Overrides:
iterator in class AbstractAnalysis<JAnalysisMap,AnalyzerEvent>