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 Description SocketOutputStream(InetSocketAddress inetSocketAddress)
SocketOutputStream(Socket socket)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Socket
getSocket()
Return the underlying SocketString
toString()
-
Methods inherited from class java.io.OutputStream
nullOutputStream
-
-
-
-
Constructor Detail
-
SocketOutputStream
public SocketOutputStream(InetSocketAddress inetSocketAddress) throws IOException
- Throws:
IOException
-
SocketOutputStream
public SocketOutputStream(Socket socket) throws IOException
- Throws:
IOException
-
-