if (muxer != null) {
muxer.add(scopeId.shortValue(), new DelegatingStateTransferUpHandler(this.getProtocolAdapter(), this));
}
else
{
muxer = new MuxUpHandler(this.channel.getUpHandler());
muxer.add(scopeId.shortValue(), new DelegatingStateTransferUpHandler(this.getProtocolAdapter(), this));
this.channel.setUpHandler((UpHandler) muxer);
}
}