public class NCUSocketFactory.MySocket extends USocketFactory.Socket
| Modifier and Type | Field and Description |
|---|---|
private java.io.InputStream |
is |
private java.io.OutputStream |
os |
private java.lang.Process |
p |
| Constructor and Description |
|---|
MySocket(java.lang.Process p) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
readFull(byte[] buf,
int s,
int len) |
void |
write(byte[] buf,
int s,
int len) |
private java.lang.Process p
private java.io.InputStream is
private java.io.OutputStream os
MySocket(java.lang.Process p) throws java.io.IOException
java.io.IOExceptionpublic int readFull(byte[] buf,
int s,
int len)
throws java.io.IOException
readFull in class USocketFactory.Socketjava.io.IOExceptionpublic void write(byte[] buf,
int s,
int len)
throws java.io.IOException
write in class USocketFactory.Socketjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in class USocketFactory.Socketjava.io.IOException