Changeset 716
- Timestamp:
- 03/07/05 20:17:11 (4 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/external-tools/indexer-backends/lucene/org/midgardproject/XmlComm.java
r715 r716 78 78 79 79 /** 80 * Parses the request and writes the response to the output stream.81 * 80 * Parses and executes the request, the output is written to the configured 81 * output stream. 82 82 */ 83 83 public void ParseRequest() trunk/external-tools/indexer-backends/lucene/org/midgardproject/lucene/Main.java
r714 r716 10 10 11 11 /** 12 * @author torben 13 * 14 * TODO To change the template for this generated type comment go to 15 * Window - Preferences - Java - Code Style - Code Templates 12 * Indexer Daemon 13 * 14 * Address and socket to bind to is taken from the command line. 15 * 16 * Launches a thread for each incoming connection. 16 17 */ 17 18 public class Main … … 22 23 try 23 24 { 24 XmlComm comm = new XmlComm(new java.io.FileInputStream(args[0]), System.out); 25 // XmlComm comm = new XmlComm(System.in, System.out); 26 comm.ParseRequest(); 25 // Create a server socket 26 // loop infinitly 27 // launch worker threads 28 29 // open: shutdown function 30 // open: daemon threads vs. worker threads? 27 31 } 28 32 catch (Exception ex)
