Package arcommon.net

Class LineConnection

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected LineConnection()  
        LineConnection​(java.net.Socket pclientSocket)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      boolean isConnected()  
      char[] readChars​(int length)  
      java.lang.String readLine()  
      void sendLine​(java.lang.String line)  
      protected void setClientSocket​(java.net.Socket pclientSocket)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LineConnection

        public LineConnection​(java.net.Socket pclientSocket)
                       throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • setClientSocket

        protected void setClientSocket​(java.net.Socket pclientSocket)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • readLine

        public java.lang.String readLine()
      • readChars

        public char[] readChars​(int length)
      • sendLine

        public void sendLine​(java.lang.String line)
      • close

        public void close()