public class SimpleTcpOutputStrategy extends Object implements TcpOutputStrategy
The receiver of this strategy is not defined in any way. This is just a fire and forget strategy. There is no way to read data back into opennms.
| Constructor and Description |
|---|
SimpleTcpOutputStrategy() |
| Modifier and Type | Method and Description |
|---|---|
String |
getHost()
getHost
|
int |
getPort()
getPort
|
void |
setHost(String host)
setHost
|
void |
setPort(int port)
setPort
|
void |
updateData(String path,
String owner,
Long timestamp,
List<Double> dblValues,
List<String> strValues)
Updates the TCP output stream with the supplied values
|
public int getPort()
getPort
public void setPort(int port)
setPort
port - a int.public void updateData(String path, String owner, Long timestamp, List<Double> dblValues, List<String> strValues) throws Exception
updateData in interface TcpOutputStrategypath - the hierarchy path for the dataowner - the owner of the datadblValues - a list of Double valuesstrValues - a list of String valuesException - if an error occurs updating the fileCopyright © 2020. All rights reserved.