public class InfoConsumer extends java.lang.Object implements eu.reservoir.monitoring.core.Reporter, Application
| Constructor and Description |
|---|
InfoConsumer()
InfoConsumer constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCollectionPath()
Get the path where raw data is collected into.
|
SocketAddress |
getInputAddress()
Get the address for inpput traffic.
|
java.lang.String |
getName()
Get the name of the AggPoint.
|
ApplicationResponse |
init(java.lang.String[] args)
init
Args are:
-i input address
-l log path, (default: /tmp/)
-n name (default: "info-consumer")
|
void |
report(eu.reservoir.monitoring.core.Measurement m)
Receiver of a measurment.
|
void |
run()
Run
|
java.lang.String |
setCollectionPath(java.lang.String path)
Set the path where raw data is collected into.
|
SocketAddress |
setInputAddress(SocketAddress in)
Set the address for input traffic.
|
java.lang.String |
setName(java.lang.String str)
Set the name of the AggPoint.
|
ApplicationResponse |
start()
Start the InfoConsumer.
|
ApplicationResponse |
stop()
Stop
|
public ApplicationResponse init(java.lang.String[] args)
init in interface Applicationpublic ApplicationResponse start()
start in interface Applicationpublic ApplicationResponse stop()
stop in interface Applicationpublic void run()
run in interface java.lang.Runnablepublic void report(eu.reservoir.monitoring.core.Measurement m)
report in interface eu.reservoir.monitoring.core.Reporterpublic SocketAddress getInputAddress()
public SocketAddress setInputAddress(SocketAddress in)
public java.lang.String getCollectionPath()
public java.lang.String setCollectionPath(java.lang.String path)
public java.lang.String getName()
public java.lang.String setName(java.lang.String str)
User Space Routing 0.10.3