Class JNAUSocketFactory.MySocket
java.lang.Object
com.jcraft.jsch.agentproxy.USocketFactory.Socket
com.jcraft.jsch.agentproxy.usocket.JNAUSocketFactory.MySocket
- Enclosing class:
- JNAUSocketFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
sock
private int sock
-
-
Constructor Details
-
MySocket
MySocket(int sock) throws java.io.IOException - Throws:
java.io.IOException
-
-
Method Details
-
readFull
public int readFull(byte[] buf, int s, int len) throws java.io.IOException - Specified by:
readFull
in classUSocketFactory.Socket
- Throws:
java.io.IOException
-
write
public void write(byte[] buf, int s, int len) throws java.io.IOException - Specified by:
write
in classUSocketFactory.Socket
- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException- Specified by:
close
in classUSocketFactory.Socket
- Throws:
java.io.IOException
-