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.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