Package fit

Class FitServer


  • public class FitServer
    extends java.lang.Object
    • Field Detail

      • input

        public java.lang.String input
    • Constructor Detail

      • FitServer

        public FitServer​(java.lang.String host,
                         int port,
                         boolean verbose)
      • FitServer

        public FitServer()
    • Method Detail

      • main

        public static void main​(java.lang.String[] argv)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • run

        public void run​(java.lang.String[] argv)
                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • sentinelName

        public static java.lang.String sentinelName​(int thePort)
      • closeConnection

        public void closeConnection()
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • process

        public void process()
      • readDocument

        public java.lang.String readDocument()
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • newFixture

        protected Fixture newFixture()
      • args

        public void args​(java.lang.String[] argv)
      • exception

        protected void exception​(java.lang.Exception e)
      • exit

        public void exit()
                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • exitCode

        public int exitCode()
      • establishConnection

        public void establishConnection()
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • establishConnection

        public void establishConnection​(java.lang.String httpRequest)
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • validateConnection

        public void validateConnection()
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getCounts

        public Counts getCounts()
      • readTable

        public static byte[] readTable​(Parse table)
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • writeCounts

        public void writeCounts​(Counts count)
                         throws java.io.IOException
        Throws:
        java.io.IOException