Package fit
Class FitServer
- java.lang.Object
-
- fit.FitServer
-
public class FitServer extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description Fixture
fixture
FixtureListener
fixtureListener
java.lang.String
input
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
args(java.lang.String[] argv)
void
closeConnection()
void
establishConnection()
void
establishConnection(java.lang.String httpRequest)
protected void
exception(java.lang.Exception e)
void
exit()
int
exitCode()
Counts
getCounts()
static void
main(java.lang.String[] argv)
protected Fixture
newFixture()
void
process()
java.lang.String
readDocument()
static byte[]
readTable(Parse table)
void
run(java.lang.String[] argv)
static java.lang.String
sentinelName(int thePort)
void
validateConnection()
void
writeCounts(Counts count)
-
-
-
Field Detail
-
input
public java.lang.String input
-
fixture
public Fixture fixture
-
fixtureListener
public FixtureListener fixtureListener
-
-
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
-
-