EsperClient

public class EsperClient extends Thread

Fields

CONFIGURATION_FILE

public static String CONFIGURATION_FILE

Non-Optional: Used Configuration file with needed specifications.

DIR

public static String DIR

Optional: Folder containing .pcap Files containing pakets to be analyzed.

EsperEngine

public static String EsperEngine

Name of the Esper Engine.

FILE

public static String FILE

Optional: .pcap File containing pakets to be analyzed.

INTERFACE

public static String INTERFACE

Optional: Interface to listen on and capture pakets from this source.

ListenerList

public static ArrayList<MyListener> ListenerList

A List of all active Listeners, this includes predefined listeners as well as dynamically added listeners.

MONITORING_FILE

public static String MONITORING_FILE

File were the measured data of the motniroing thread is stored afterwards.

RULES_FILE

public static String RULES_FILE

Non-Optional: Rules file containing EPL Rules and other definitions.

cepAdm

public static EPAdministrator cepAdm

Esper Administrator Instance.

cepRT

public static EPRuntime cepRT

Esper Runtime Instance.

config

public static Configuration config

Esper Configuration Instance.

epService

public static EPServiceProvider epService

Esper Service Provider Instance.

helperListenerID

public static MyListener helperListenerID

Specific predefined Listener to look after changes in the ID-IP relationship.

helperListenerIP

public static MyListener helperListenerIP

Specific predefined Listener to look after changes in the IP-ID relationship.

monitoring

public static Boolean monitoring

Whether or not monitoring of the process itself is activated, mainly memory consumption.

verbose

public static Boolean verbose

Verbose-Mode can be set to true using the configuration file and more status information is printed out.

Constructors

EsperClient

public EsperClient(String[] args)

Constructor for the Analyzer itself. Takes all commandline arguments for parsing and initialized all needed fields aboth.

Methods

run

public void run()

Starts the Esper Engine itself.