Class JNAUSocketFactory.MySocket

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

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

    Fields
    Modifier and Type
    Field
    Description
    private int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    MySocket(int sock)
     
  • 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

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