@ Override public void channelActive ( final ChannelHandlerContext ctx ) throws Exception { this . ctx = ctx ; ctx . writeAndFlush ( new DefaultBinaryMemcacheRequest ( ) . setOpcode ( SASL_LIST_MECHS_OPCODE ) ) ; }
Once the channel is marked as active the SASL negotiation is started .