Class NCUSocketFactory.MySocket
java.lang.Object
com.jcraft.jsch.agentproxy.USocketFactory.Socket
com.jcraft.jsch.agentproxy.usocket.NCUSocketFactory.MySocket
- Enclosing class:
- NCUSocketFactory
-
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
-
p
private java.lang.Process p -
is
private java.io.InputStream is -
os
private java.io.OutputStream os
-
-
Constructor Details
-
MySocket
MySocket(java.lang.Process p) 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
-