public class XsbcServer extends Object implements Runnable
Date: 31 January 04 Time: Unk Author: Duane Davis Comments: None Date: 13 August 200 Time: Unk Author: Mike Bailey Comments: None Date: August 31, 2005 Time: 2021:45 Author: Terry Norbraten Comments: Modified the constructor to accept the location of the AVCLSchema Date: June 12, 2006 Time: 1440 Author: Terry Norbraten Comments: Modified for log4j statements replacing sysouts
Modifier and Type | Field and Description |
---|---|
static File |
AVCLSCHEMA
Location of AVCL schema for use by XSBC routines
|
static int |
DEFAULT_PORT
Default server setting
|
static int |
MAX_CLIENTS
Default server setting
|
protected int |
port |
Modifier and Type | Method and Description |
---|---|
protected static XsbcServer |
getInstance() |
static XsbcServer |
getInstance(int port,
File schema)
Returns a copy of the current server or a new one if it doesn't exist.
|
void |
run() |
void |
stop()
Closes the existing server socket and stops execution of the thread
|
public static final int MAX_CLIENTS
public static final int DEFAULT_PORT
public static final File AVCLSCHEMA
protected int port
public static XsbcServer getInstance(int port, File schema) throws IOException
port
- schema
- XsbcServer
IOException
protected static XsbcServer getInstance() throws IOException
IOException
public void stop()