org.apache.cocoon.profiler.debugging
Class Client
java.lang.Object
org.apache.cocoon.profiler.debugging.Client
- All Implemented Interfaces:
- Runnable
- public class Client
- extends Object
- implements Runnable
This is a simple cli client for the Debugger
.
- Since:
- 2.2
- Version:
- $Id: Client.java 232596 2005-08-14 11:13:12Z cziegeler $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HOST
protected static final String HOST
- See Also:
- Constant Field Values
PORT
protected static final int PORT
- See Also:
- Constant Field Values
writer
protected PrintWriter writer
reader
protected Reader reader
server
protected ServerSocket server
socket
protected Socket socket
Client
public Client()
run
public void run()
- Specified by:
run
in interface Runnable
- See Also:
Runnable.run()
close
protected void close()
- Close the connection
isSocketReaderReady
protected boolean isSocketReaderReady()
main
public static void main(String[] args)
throws Exception
- The
main
method.
- Parameters:
args
- a String[]
of arguments
- Throws:
Exception
- if an error occurs
printUsage
protected static void printUsage()
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.