public class JabbixWriter
extends java.lang.Object
To send the messages the structured Zabbix protocol is used
(see JabbixProtocol).
JabbixReader| Constructor and Description |
|---|
JabbixWriter(java.io.OutputStream out)
Creates a writer for the given output stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
writeMessage(java.lang.String msg)
Sends the given message using the Zabbix protocol.
|
public JabbixWriter(java.io.OutputStream out)
out - the stream to write topublic void writeMessage(java.lang.String msg)
throws java.io.IOException
msg - message to sendjava.io.IOException - if an I/O exception occurred during the read operationJabbixProtocol.HEADER,
JabbixReader.readMessage(boolean)