public class DebugSocketInputStream
extends java.io.InputStream
| Constructor and Description |
|---|
DebugSocketInputStream(java.io.InputStream parent,
long timestamp,
java.lang.String description)
Constructor.
|
public DebugSocketInputStream(java.io.InputStream parent,
long timestamp,
java.lang.String description)
throws java.io.IOException
parent - The parent input stream.timestamp - The VM wide timestamp to identify this process.description - The socket description generated from the socket.java.io.IOExceptionpublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] buf)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] buf,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOException