org.apache.log.output.net
public class DatagramOutputTarget extends AbstractOutputTarget
| Constructor Summary | |
|---|---|
| DatagramOutputTarget(InetAddress address, int port, Formatter formatter)
Create a output target with end point specified by address and port.
| |
| DatagramOutputTarget(InetAddress address, int port)
Create a output target with end point specified by address and port.
| |
| Method Summary | |
|---|---|
| void | close()
Shutdown target.
|
| protected void | write(String stringData)
Method to write output to datagram.
|
Parameters: address the address endpoint port the address port formatter the message formatter
Throws: IOException if an error occurs
Parameters: address the address endpoint port the address port
Throws: IOException if an error occurs
Parameters: stringData the data to be output