public SIPStack() { this.toExit = false;  this.threadPoolSize = -1;   this.cacheServerConnections = true;   this.cacheClientConnections = true;  this.maxConnections = -1;  messageProcessors = new ArrayList();  this.ioHandler = new IOHandler(this);  this.logWriter = new LogWriter();  this.serverLog = new ServerLog(this);
public SIPStack( SIPStackMessageFactory messageFactory, String stackAddress, String stackName) throws UnknownHostException { this(); sipMessageFactory = messageFactory; if (stackAddress == null) { throw new UnknownHostException("stack Address not set"); }
	public SIPStack() {		this.toExit = false;		// Set an infinite thread pool size.		this.threadPoolSize = -1;		// Close response socket after infinte time.		// for max performance		this.cacheServerConnections = true;		// Close the request socket after infinite time.		// for max performance		this.cacheClientConnections = true;		// Max number of simultaneous connections.		this.maxConnections = -1;		// Array of message processors.		messageProcessors = new ArrayList();		// Handle IO for this process.		this.ioHandler = new IOHandler(this);		// To log debug messages.		this.logWriter = new LogWriter();		// Server log file.		this.serverLog = new ServerLog(this);//ifdef SIMULATION/*		// Time taken to process the message through the stack from		// the time of receipt on the wire.		this.stackProcessingTime = 5;//endif*/	}