Table of Contents

Enum MultiplexingStream.ChannelSource

Namespace
Nerdbank.Streams
Assembly
Nerdbank.Streams.dll

An enumeration of the possible sources of a channel.

public enum MultiplexingStream.ChannelSource : sbyte

Fields

Local = 1

The channel was offered by this MultiplexingStream instance to the other party.

Remote = -1

The channel was offered to this MultiplexingStream instance by the other party.

Seeded = 0

The channel was seeded during construction via the SeededChannels collection. This channel is to be accepted by both parties.

Remarks

The ordinal values are chosen so as to make flipping the perspective as easy as negating the value, while leaving the Seeded value unchanged.