Package org.jboss.logmanager.handlers
Class UdpOutputStream
java.lang.Object
java.io.OutputStream
org.jboss.logmanager.handlers.UdpOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
,FlushableCloseable
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:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
- Throws:
IOException
-