|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Targets>
org.jnetstream.lang.npl.Targets
public enum Targets
Constants define type of output to produce from the compilation
| Enum Constant Summary | |
|---|---|
BPF_BINDING
Compiler will generate BPF output containing BPF byte code compatible with BPF VM, BPF userland from Tcpdump and but not kernels. |
|
BPF_FILTER
Compiler will generate BPF output containing BPF byte code compatible with BPF VM, BPF userland from Tcpdump and most kernels. |
|
BPF_INT_EXPRESSION
Compiler will generate BPF output containing BPF byte code which implements the CodeExpression interface. |
|
JASMIN_BINDING
Compiler will generate assembled code suitable for current native 32-bit X86 processor platform on linux machine. |
|
JASMIN_EXPRESSION
Compiler will generate assembly code suitable for JASMIN assembler. |
|
JASMIN_FILTER
Compiler will generate assembly code suitable for JASMIN assembler. |
|
JAVA_CODEC
Compiler will generate JAVA source code suitable for javac compiler. |
|
JAVA_PROTOCOL_IMPL
Compiler will generate JAVA source code suitable for javac compiler. |
|
JAVA_PROTOCOL_STUB
Compiler will generate JAVA source code suitable for javac compiler. |
|
JAVA_TABLE
Compiler will generate JAVA source code suitable for javac compiler. |
|
| Method Summary | |
|---|---|
java.io.File[] |
getTemplateFiles()
Gets the list of template files that are grouped into a StringTemplateGroup by the compiler. |
static Targets |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Targets[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Targets BPF_FILTER
public static final Targets BPF_BINDING
public static final Targets BPF_INT_EXPRESSION
CodeExpression interface. Allows generic
evaluation of any expression based on a packet byte buffer where integer
result is expected.
public static final Targets JASMIN_FILTER
Filter inteface.
public static final Targets JASMIN_BINDING
public static final Targets JASMIN_EXPRESSION
CodeExpression inteface.
public static final Targets JAVA_PROTOCOL_STUB
public static final Targets JAVA_PROTOCOL_IMPL
public static final Targets JAVA_CODEC
HeaderCodec interface for encoding and decoding of packet
buffers.
public static final Targets JAVA_TABLE
table statement. All the
constants will be defined in java's enum table.
| Method Detail |
|---|
public static final Targets[] values()
for(Targets c : Targets.values())
System.out.println(c);
public static Targets valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic java.io.File[] getTemplateFiles()
getTemplateFiles in interface CodeTargetorg.jnetstream.lang.npl.NplCompiler.CodeTarget#getTemplateFiles()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||