Class DatagramOutputStream

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

    public class DatagramOutputStream
    extends java.io.OutputStream
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void write​(byte[] buf)  
      void write​(byte[] buf, int pos, int len)  
      void write​(int b)  
      • Methods inherited from class java.io.OutputStream

        close, flush, nullOutputStream
      • Methods inherited from class java.lang.Object

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

      • DatagramOutputStream

        public DatagramOutputStream​(DatagramConnection connection,
                                    java.net.InetAddress ip)
    • Method Detail

      • write

        public void write​(int b)
        Specified by:
        write in class java.io.OutputStream
      • write

        public void write​(byte[] buf)
        Overrides:
        write in class java.io.OutputStream
      • write

        public void write​(byte[] buf,
                          int pos,
                          int len)
        Overrides:
        write in class java.io.OutputStream