Class NCUSocketFactory.MySocket

java.lang.Object
com.jcraft.jsch.agentproxy.USocketFactory.Socket
com.jcraft.jsch.agentproxy.usocket.NCUSocketFactory.MySocket
Enclosing class:
NCUSocketFactory

public class NCUSocketFactory.MySocket extends USocketFactory.Socket
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private java.io.InputStream
     
    private java.io.OutputStream
     
    private java.lang.Process
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    MySocket(java.lang.Process p)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    int
    readFull(byte[] buf, int s, int len)
     
    void
    write(byte[] buf, int s, int len)
     

    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 class USocketFactory.Socket
      Throws:
      java.io.IOException
    • write

      public void write(byte[] buf, int s, int len) throws java.io.IOException
      Specified by:
      write in class USocketFactory.Socket
      Throws:
      java.io.IOException
    • close

      public void close() throws java.io.IOException
      Specified by:
      close in class USocketFactory.Socket
      Throws:
      java.io.IOException