/// <summary> /// Channel have been bound to a specific address. /// </summary> /// <param name="ctx">Context unique for this handler/channel combination.</param> /// <param name="e">Event information</param> protected abstract void HandleBound(IChannelHandlerContext ctx, BoundEvent e);
protected override void HandleBound(IChannelHandlerContext ctx, BoundEvent e) { var evt = new ConnectEvent(); SendDownstream(evt); }
/// <summary> /// Channel have been bound to a specific address. /// </summary> /// <param name="ctx">Context unique for this handler/channel combination.</param> /// <param name="e">Event information</param> protected override void HandleBound(IChannelHandlerContext ctx, BoundEvent e) { }