public void stop() throws IOException, InterruptedException {		
		srvrChannel.oldClose();
		acceptor.closeAllSockets();
		
		serverSideChanMgr.stop();		
	}

//	public static void main(String[] args) throws Exception {

//		if(args.length < 2) {
//		 return;
//		}
//		
//		String realServerIp = args[0];
//		int port = Integer.parseInt(args[1]);
//		InetAddress addr = InetAddress.getByName(realServerIp);
//		InetSocketAddress svrAddr = new InetSocketAddress(addr, port);
//		DelayServer svr = new DelayServer();
//		svr.start(svrAddr);		
//	}