public final class SocketListener extends AbstractOutput
FLOATFORMAT
Constructor and Description |
---|
SocketListener(IUpdater paramView)
Constructor with the port for initalising the connection to the view.
|
Modifier and Type | Method and Description |
---|---|
boolean |
listenToException(AbstractPerfidixMethodException exec)
Listening to an arised exception.
|
boolean |
listenToResultSet(Method meth,
AbstractMeter meter,
double data)
Listening to a resultset and handling the data.
|
void |
visitBenchmark(BenchmarkResult res)
Visiting the
BenchmarkResult and do something with the result. |
format
public SocketListener(IUpdater paramView)
paramView
- connection to the perclipse viewpublic boolean listenToException(AbstractPerfidixMethodException exec)
listenToException
in class AbstractOutput
exec
- an AbstractPerfidixMethodException
instancepublic boolean listenToResultSet(Method meth, AbstractMeter meter, double data)
listenToResultSet
in class AbstractOutput
meth
- the related Method
meter
- the corresponding AbstractMeter
instance where the
result is related todata
- the related datapublic void visitBenchmark(BenchmarkResult res)
BenchmarkResult
and do something with the result.visitBenchmark
in class AbstractOutput
res
- the BenchmarkResult
Copyright © 2013 University of Konstanz, Distributed Systems Group. All Rights Reserved.