public class DTN2Events.ParserHandler
extends java.lang.Object
| Constructor and Description |
|---|
DTN2Events.ParserHandler(int hostID,
DTN2Events eventsHandler,
java.lang.String consoleHost,
int consolePort)
Creates a new parser handler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
connected() |
boolean |
error(java.lang.String reason,
java.lang.Exception exception,
boolean fatal) |
BundleTransferReceipt |
incomingBundle(java.lang.String location,
CLAParser.BundleAttributes attributes) |
boolean |
parseError(java.lang.String reason) |
public DTN2Events.ParserHandler(int hostID,
DTN2Events eventsHandler,
java.lang.String consoleHost,
int consolePort)
hostID - ID of the host that this parser corresponds toeventsHandler - Reference to the events handlerconsoleHost - Hostname of the dtndconsolePort - Console port of the dtndpublic BundleTransferReceipt incomingBundle(java.lang.String location,
CLAParser.BundleAttributes attributes)
public void connected()
public boolean error(java.lang.String reason,
java.lang.Exception exception,
boolean fatal)
public boolean parseError(java.lang.String reason)