mWriteManager = new WriteManager();
    OzConnection(OzServer server, SocketChannel channel) throws IOException {        mId = mIdCounter.incrementAndGet();        mIdString = Integer.toString(mId);                mWriteManager = new WriteManager();                mRemoteAddress = channel.socket().getInetAddress().getHostAddress();        mChannel = channel;        mServer = server;        mChannelClosed = false;        mLog = mServer.getLog();        mDebug = mLog.isDebugEnabled();        mTrace = mServer.debugLogging();        mSelectionKey = channel.register(server.getSelector(), 0, this);         addFilter(new OzPlainFilter(), true);        mConnectTask = new ConnectTask();        mReadTask = new ReadTask();        mWriteTask = new WriteTask();        mConnectTask.schedule();    }