/// <summary> /// Invokes the specified message. /// </summary> /// <param name="message">The message.</param> public void Invoke(IUpstreamMessage message) { _mine.HandleUpstream(this, message); InvokeUpstream(); InvokeDownstream(); }
public void Invoke(IPipelineMessage message) { _myHandler.HandleUpstream(this, message); }
/// <summary> /// Send an event upstream (from channels to application) /// </summary> /// <param name="handlerToStartFrom">Handler that should be invoked</param> /// <param name="channelEvent">Event to send</param> public void SendUpstream(IUpstreamHandler handlerToStartFrom, IChannelEvent channelEvent) { ChannelHandlerContext ctx = _contexts[handlerToStartFrom]; handlerToStartFrom.HandleUpstream(ctx, channelEvent); }