Class SyslogOutputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable

    @Deprecated(since="2022-01-27")
    public class SyslogOutputStream
    extends java.io.OutputStream
    Deprecated.
    This internal logback API is not supported by AEM as a Cloud Service.
    SyslogOutputStream is a wrapper around the DatagramSocket class so that it behaves like an OutputStream.
    • Constructor Summary

      Constructors 
      Constructor Description
      SyslogOutputStream​(java.lang.String syslogHost, int port)
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void close()
      Deprecated.
       
      void flush()
      Deprecated.
       
      int getPort()
      Deprecated.
       
      void write​(byte[] byteArray, int offset, int len)
      Deprecated.
       
      void write​(int b)
      Deprecated.
       
      • Methods inherited from class java.io.OutputStream

        nullOutputStream, write
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SyslogOutputStream

        public SyslogOutputStream​(java.lang.String syslogHost,
                                  int port)
                           throws java.net.UnknownHostException,
                                  java.net.SocketException
        Deprecated.
        Throws:
        java.net.UnknownHostException
        java.net.SocketException
    • Method Detail

      • write

        public void write​(byte[] byteArray,
                          int offset,
                          int len)
                   throws java.io.IOException
        Deprecated.
        Overrides:
        write in class java.io.OutputStream
        Throws:
        java.io.IOException
      • flush

        public void flush()
                   throws java.io.IOException
        Deprecated.
        Specified by:
        flush in interface java.io.Flushable
        Overrides:
        flush in class java.io.OutputStream
        Throws:
        java.io.IOException
      • close

        public void close()
        Deprecated.
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Overrides:
        close in class java.io.OutputStream
      • getPort

        public int getPort()
        Deprecated.
      • write

        public void write​(int b)
                   throws java.io.IOException
        Deprecated.
        Specified by:
        write in class java.io.OutputStream
        Throws:
        java.io.IOException