Class DatagramOutputStream

java.lang.Object
java.io.OutputStream
org.apache.logging.log4j.core.net.DatagramOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class DatagramOutputStream extends OutputStream
OutputStream for UDP connections.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final Logger
    Allow subclasses access to the status logger without creating another instance.
  • Constructor Summary

    Constructors
    Constructor
    Description
    DatagramOutputStream(String host, int port, byte[] header, byte[] footer)
    The Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
    void
    write(byte[] bytes)
     
    void
    write(byte[] bytes, int offset, int length)
     
    void
    write(int i)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait