Package org.jboss.logmanager.handlers
Class UdpOutputStream
java.lang.Object
java.io.OutputStream
org.jboss.logmanager.handlers.UdpOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
An output stream that writes data to a
DatagramSocket.- Author:
- James R. Perkins
-
Constructor Summary
ConstructorsConstructorDescriptionUdpOutputStream(InetAddress address, int port) UdpOutputStream(ClientSocketFactory socketManager) -
Method Summary
Methods inherited from class java.io.OutputStream
flush, nullOutputStream
-
Constructor Details
-
UdpOutputStream
- Throws:
IOException
-
UdpOutputStream
- Throws:
SocketException
-
-
Method Details
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-