org.jnetpcap.packet.annotate
Annotation Type Protocol


@Target(value=TYPE)
@Documented
@Retention(value=RUNTIME)
public @interface Protocol

Specifies global protocol properties

Author:
Mark Bednarczyk, Sly Technologies, Inc.

Optional Element Summary
 java.lang.Class<? extends JAnalyzer>[] analyzers
          A list of analyzers that are also part of this protocol.
 java.lang.String company
           
 java.lang.String[] description
           
 java.lang.Class<? extends JHeader>[] headers
           
 java.lang.String[] license
           
 java.lang.String[] rfcs
           
 Protocol.Suite suite
          Protocol suite this prorotocol belongs to
 

suite

public abstract Protocol.Suite suite
Protocol suite this prorotocol belongs to

Returns:
protocol family for this protocol
Default:
OTHER

analyzers

public abstract java.lang.Class<? extends JAnalyzer>[] analyzers
A list of analyzers that are also part of this protocol. The listed analyzers will automatically be registered with JRegistry when the protocol or its header is registered.

Returns:
a list of analyzers used to analyze this protocol
Default:
org.jnetpcap.packet.analysis.JAnalyzer.class

headers

public abstract java.lang.Class<? extends JHeader>[] headers
Default:
org.jnetpcap.packet.JHeader.class

description

public abstract java.lang.String[] description
Default:
""

license

public abstract java.lang.String[] license
Default:
""

company

public abstract java.lang.String company
Default:
""

rfcs

public abstract java.lang.String[] rfcs
Default:
""