public LockableClientChannel(IClientChannel innerChannel, LockableChannel channelWithSharedLock = null) : base(innerChannel, channelWithSharedLock) { InnerChannel = innerChannel; InnerChannel.RequestSent += InnerChannel_RequestSent; InnerChannel.ResponseReceived += InnerChannel_ResponseReceived; }
public LockableServerChannel(IServerChannel innerChannel, LockableChannel channelWithSharedLock = null) : base(innerChannel, channelWithSharedLock) { InnerChannel = innerChannel; InnerChannel.RequestReceived += InnerChannel_RequestReceived; InnerChannel.ResponseSent += InnerChannel_ResponseSent; }
public LockableChannel(IChannel innerChannel, LockableChannel channelWithSharedLock = null) { if (channelWithSharedLock != null) { EventsLock = channelWithSharedLock.EventsLock; } InnerChannel = innerChannel; InnerChannel.ChannelReady += InnerChannel_ChannelReady; InnerChannel.ChannelClosed += InnerChannel_ChannelClosed; InnerChannel.ErrorOccured += InnerChannel_ErrorOccured; }