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.IOException
public int readFull(byte[] buf, int s, int len) throws java.io.IOException
readFull
in class USocketFactory.Socket
java.io.IOException
public void write(byte[] buf, int s, int len) throws java.io.IOException
write
in class USocketFactory.Socket
java.io.IOException
public void close() throws java.io.IOException
close
in class USocketFactory.Socket
java.io.IOException