public class JNAUSocketFactory.MySocket extends USocketFactory.Socket
| Modifier and Type | Field and Description |
|---|---|
private int |
sock |
| Constructor and Description |
|---|
MySocket(int sock) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
readFull(byte[] buf,
int s,
int len) |
void |
write(byte[] buf,
int s,
int len) |
MySocket(int sock) 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