org.apache.jmeter.visualizers.backend.graphite

## Class SocketOutputStream

- java.lang.Object
- - java.io.OutputStream
  - - java.io.FilterOutputStream
    - - org.apache.jmeter.visualizers.backend.graphite.SocketOutputStream

- All Implemented Interfaces:
    Closeable, Flushable, AutoCloseable

      public class SocketOutputStream
      extends FilterOutputStream

  Convenience class for writing bytes to a Socket.
  Since:
    2.13

- - ### Field Summary

    - ### Fields inherited from class java.io.FilterOutputStream

      `out`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SocketOutputStream(InetSocketAddress inetSocketAddress)`
    `SocketOutputStream(Socket socket)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Socket` | `getSocket()` Return the underlying Socket
    `String` | `toString()`

    - ### Methods inherited from class java.io.FilterOutputStream

      `close, flush, write, write, write`

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### SocketOutputStream

          public SocketOutputStream(InetSocketAddress inetSocketAddress)
                             throws IOException

      Throws:
        `IOException`

    - #### SocketOutputStream

          public SocketOutputStream(Socket socket)
                             throws IOException

      Throws:
        `IOException`

  - ### Method Detail

    - #### getSocket

          public Socket getSocket()

      Return the underlying Socket
      Returns:
        the underlying `Socket`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.