Class NCUSocketFactory.MySocket

    • Field Summary

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

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      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 Detail

      • p

        private java.lang.Process p
      • is

        private java.io.InputStream is
      • os

        private java.io.OutputStream os
    • Constructor Detail

      • MySocket

        MySocket​(java.lang.Process p)
          throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • 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