com.synametrics.commons.util.logging
Class SimpleSocketServer

java.lang.Object
  |
  +--com.synametrics.commons.util.logging.SimpleSocketServer

public class SimpleSocketServer
extends java.lang.Object

A simple SocketNode based server.

   Usage: java org.apache.log4j.net.SimpleSocketServer port configFile
   where port is a part number where the server listens and
   configFile is a configuration file fed to the PropertyConfigurator or to DOMConfigurator if an XML file.
   

Since:
0.8.4

Field Summary
(package private) static org.apache.log4j.Category cat
           
(package private) static int port
           
 
Constructor Summary
SimpleSocketServer()
           
 
Method Summary
(package private) static void init(java.lang.String portStr, java.lang.String configFile)
           
static void main(java.lang.String[] argv)
           
(package private) static void usage(java.lang.String msg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cat

static org.apache.log4j.Category cat

port

static int port
Constructor Detail

SimpleSocketServer

public SimpleSocketServer()
Method Detail

main

public static void main(java.lang.String[] argv)

usage

static void usage(java.lang.String msg)

init

static void init(java.lang.String portStr,
                 java.lang.String configFile)