public void startup(NetworkStream ns, IPEndPoint local, IPEndPoint peer) { resetAlarm(0); this.ns = ns; this.local = local; this.peer = peer; ManagerConfig config = manager.getConfig(); setInputSecurityCodec(config.getInputSecurityBytes(), config.isInputCompress()); setOutputSecurityCodec(config.getOutputSecurityBytes(), config.isOutputCompress()); manager.addProtocolTransport(this); }