Package ch.qos.logback.core.net
Class SyslogOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- ch.qos.logback.core.net.SyslogOutputStream
-
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
@Deprecated(since="2022-01-27") public class SyslogOutputStream extends OutputStream
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.SyslogOutputStream is a wrapper around theDatagramSocketclass so that it behaves like anOutputStream.
-
-
Constructor Summary
Constructors Constructor Description SyslogOutputStream(String syslogHost, int port)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclose()Deprecated.voidflush()Deprecated.intgetPort()Deprecated.voidwrite(byte[] byteArray, int offset, int len)Deprecated.voidwrite(int b)Deprecated.-
Methods inherited from class java.io.OutputStream
nullOutputStream, write
-
-
-
-
Constructor Detail
-
SyslogOutputStream
public SyslogOutputStream(String syslogHost, int port) throws UnknownHostException, SocketException
Deprecated.- Throws:
UnknownHostExceptionSocketException
-
-
Method Detail
-
write
public void write(byte[] byteArray, int offset, int len) throws IOExceptionDeprecated.- Overrides:
writein classOutputStream- Throws:
IOException
-
flush
public void flush() throws IOExceptionDeprecated.- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
close
public void close()
Deprecated.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream
-
getPort
public int getPort()
Deprecated.
-
write
public void write(int b) throws IOExceptionDeprecated.- Specified by:
writein classOutputStream- Throws:
IOException
-
-