public class TelnetSysoutMirrorStream extends OutputStream
| Modifier and Type | Field and Description |
|---|---|
protected PrintStream |
m_out_ps |
protected TelnetServer |
m_ts |
| Constructor and Description |
|---|
TelnetSysoutMirrorStream(TelnetServer ts,
PrintStream ps) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
void |
write(byte[] parm1) |
void |
write(byte[] parm1,
int offset,
int len) |
void |
write(int b) |
protected PrintStream m_out_ps
protected TelnetServer m_ts
public TelnetSysoutMirrorStream(TelnetServer ts, PrintStream ps)
public void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] parm1)
throws IOException
write in class OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic void write(byte[] parm1,
int offset,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionCopyright © 2017 etc.to. All rights reserved.