Search Results for

    Show / Hide Table of Contents

    Class DataStreamBase<TDataChannel>

    Data stream base properties/methods.

    Inheritance
    System.Object
    Foundation.NSObject
    Serializable
    Dynamic
    StreamBase
    Stream
    DataStreamBase<TDataChannel>
    DataStream
    Implements
    System.IEquatable<Foundation.NSObject>
    Foundation.INSObjectProtocol
    ObjCRuntime.INativeObject
    System.IDisposable
    IDataStream<TDataChannel>
    IStream
    Inherited Members
    Stream.RemoteIceParameters
    Stream.LocalIceParameters
    Stream.UseDtls
    Stream.UseSdes
    Stream.EncryptionModes
    Stream.EncryptionMode
    Stream.EncryptionPolicy
    Stream.SdesPolicy
    Stream.Deactivated
    Stream.Disabled
    Stream.RaiseDisabledChange()
    Stream.OnDisabledChange
    Stream.OnDisabledChangeWithCaller
    Stream.Index
    Stream.ProcessBundledStateChanged(Boolean)
    Stream.ProcessCachedSettings()
    StreamBase.Id
    StreamBase.ExternalId
    StreamBase.MediaDescriptionId
    StreamBase.ConnectionId
    StreamBase.Type
    StreamBase.Tag
    StreamBase.UseWssForMedia
    StreamBase.OnDirectionChange
    StreamBase.LocalSend
    StreamBase.LocalReceive
    StreamBase.RemoteSend
    StreamBase.RemoteReceive
    StreamBase.TransportInfo
    StreamBase.OnStateChange
    StreamBase.IsTerminating
    StreamBase.IsTerminated
    StreamBase.IsTerminatingOrTerminated
    StreamBase.State
    StreamBase.ConnectedTimestamp
    StreamBase.ProcessUpdateToMediaStreamIdentification(String)
    StreamBase.ToString()
    Dynamic.DynamicProperties
    Dynamic.GetDynamicValue(String)
    Dynamic.SetDynamicValue(String, Object)
    Dynamic.UnsetDynamicValue(String)
    Serializable.IsDirty
    Foundation.NSObject.MonoTouchAssembly
    Foundation.NSObject.PlatformAssembly
    Foundation.NSObject.Alloc(ObjCRuntime.Class)
    Foundation.NSObject.Init()
    Foundation.NSObject.InvokeInBackground(System.Action)
    Foundation.NSObject.Dispose()
    Foundation.NSObject.IsNewRefcountEnabled()
    Foundation.NSObject.MarkDirty()
    Foundation.NSObject.ConformsToProtocol(System.IntPtr)
    Foundation.NSObject.DangerousRelease()
    Foundation.NSObject.DangerousRetain()
    Foundation.NSObject.DangerousAutorelease()
    Foundation.NSObject.GetNativeField(System.String)
    Foundation.NSObject.SetNativeField(System.String, Foundation.NSObject)
    Foundation.NSObject.BeginInvokeOnMainThread(ObjCRuntime.Selector, Foundation.NSObject)
    Foundation.NSObject.InvokeOnMainThread(ObjCRuntime.Selector, Foundation.NSObject)
    Foundation.NSObject.BeginInvokeOnMainThread(System.Action)
    Foundation.NSObject.InvokeOnMainThread(System.Action)
    Foundation.NSObject.FromObject(System.Object)
    Foundation.NSObject.SetValueForKeyPath(System.IntPtr, Foundation.NSString)
    Foundation.NSObject.GetHashCode()
    Foundation.NSObject.Equals(System.Object)
    Foundation.NSObject.Equals(Foundation.NSObject)
    Foundation.NSObject.Invoke(System.Action, System.Double)
    Foundation.NSObject.Invoke(System.Action, System.TimeSpan)
    Foundation.NSObject.Dispose(System.Boolean)
    Foundation.NSObject.AddObserver(System.String, Foundation.NSKeyValueObservingOptions, System.Action<Foundation.NSObservedChange>)
    Foundation.NSObject.AddObserver(Foundation.NSString, Foundation.NSKeyValueObservingOptions, System.Action<Foundation.NSObservedChange>)
    Foundation.NSObject.AddObserver(Foundation.NSObject, Foundation.NSString, Foundation.NSKeyValueObservingOptions, System.IntPtr)
    Foundation.NSObject.AddObserver(Foundation.NSObject, System.String, Foundation.NSKeyValueObservingOptions, System.IntPtr)
    Foundation.NSObject.AutomaticallyNotifiesObserversForKey(System.String)
    Foundation.NSObject.AwakeFromNib()
    Foundation.NSObject.CancelPreviousPerformRequest(Foundation.NSObject)
    Foundation.NSObject.CancelPreviousPerformRequest(Foundation.NSObject, ObjCRuntime.Selector, Foundation.NSObject)
    Foundation.NSObject.Copy()
    Foundation.NSObject.DidChange(Foundation.NSKeyValueChange, Foundation.NSIndexSet, Foundation.NSString)
    Foundation.NSObject.DidChange(Foundation.NSString, Foundation.NSKeyValueSetMutationKind, Foundation.NSSet)
    Foundation.NSObject.DidChangeValue(System.String)
    Foundation.NSObject.DoesNotRecognizeSelector(ObjCRuntime.Selector)
    Foundation.NSObject.GetDictionaryOfValuesFromKeys(Foundation.NSString[])
    Foundation.NSObject.GetKeyPathsForValuesAffecting(Foundation.NSString)
    Foundation.NSObject.GetMethodForSelector(ObjCRuntime.Selector)
    Foundation.NSObject.GetNativeHash()
    Foundation.NSObject.IsEqual(Foundation.NSObject)
    Foundation.NSObject.IsKindOfClass(ObjCRuntime.Class)
    Foundation.NSObject.IsMemberOfClass(ObjCRuntime.Class)
    Foundation.NSObject.MutableCopy()
    Foundation.NSObject.ObserveValue(Foundation.NSString, Foundation.NSObject, Foundation.NSDictionary, System.IntPtr)
    Foundation.NSObject.PerformSelector(ObjCRuntime.Selector, Foundation.NSObject, System.Double, Foundation.NSString[])
    Foundation.NSObject.PerformSelector(ObjCRuntime.Selector, Foundation.NSObject, System.Double)
    Foundation.NSObject.PerformSelector(ObjCRuntime.Selector, Foundation.NSThread, Foundation.NSObject, System.Boolean)
    Foundation.NSObject.PerformSelector(ObjCRuntime.Selector, Foundation.NSThread, Foundation.NSObject, System.Boolean, Foundation.NSString[])
    Foundation.NSObject.PerformSelector(ObjCRuntime.Selector)
    Foundation.NSObject.PerformSelector(ObjCRuntime.Selector, Foundation.NSObject)
    Foundation.NSObject.PerformSelector(ObjCRuntime.Selector, Foundation.NSObject, Foundation.NSObject)
    Foundation.NSObject.PrepareForInterfaceBuilder()
    Foundation.NSObject.RemoveObserver(Foundation.NSObject, Foundation.NSString, System.IntPtr)
    Foundation.NSObject.RemoveObserver(Foundation.NSObject, System.String, System.IntPtr)
    Foundation.NSObject.RemoveObserver(Foundation.NSObject, Foundation.NSString)
    Foundation.NSObject.RemoveObserver(Foundation.NSObject, System.String)
    Foundation.NSObject.RespondsToSelector(ObjCRuntime.Selector)
    Foundation.NSObject.SetNilValueForKey(Foundation.NSString)
    Foundation.NSObject.SetValueForKey(Foundation.NSObject, Foundation.NSString)
    Foundation.NSObject.SetValueForKeyPath(Foundation.NSObject, Foundation.NSString)
    Foundation.NSObject.SetValueForUndefinedKey(Foundation.NSObject, Foundation.NSString)
    Foundation.NSObject.SetValuesForKeysWithDictionary(Foundation.NSDictionary)
    Foundation.NSObject.ValueForKey(Foundation.NSString)
    Foundation.NSObject.ValueForKeyPath(Foundation.NSString)
    Foundation.NSObject.ValueForUndefinedKey(Foundation.NSString)
    Foundation.NSObject.WillChange(Foundation.NSKeyValueChange, Foundation.NSIndexSet, Foundation.NSString)
    Foundation.NSObject.WillChange(Foundation.NSString, Foundation.NSKeyValueSetMutationKind, Foundation.NSSet)
    Foundation.NSObject.WillChangeValue(System.String)
    Foundation.NSObject.IsDirectBinding
    Foundation.NSObject.SuperHandle
    Foundation.NSObject.Handle
    Foundation.NSObject.ClassHandle
    Foundation.NSObject.AccessibilityAttributedUserInputLabels
    Foundation.NSObject.AccessibilityRespondsToUserInteraction
    Foundation.NSObject.AccessibilityTextualContext
    Foundation.NSObject.AccessibilityUserInputLabels
    Foundation.NSObject.Class
    Foundation.NSObject.DebugDescription
    Foundation.NSObject.Description
    Foundation.NSObject.IsProxy
    Foundation.NSObject.RetainCount
    Foundation.NSObject.Self
    Foundation.NSObject.Superclass
    Foundation.NSObject.Zone
    Foundation.NSObject.ChangeIndexesKey
    Foundation.NSObject.ChangeKindKey
    Foundation.NSObject.ChangeNewKey
    Foundation.NSObject.ChangeNotificationIsPriorKey
    Foundation.NSObject.ChangeOldKey
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public abstract class DataStreamBase<TDataChannel> : Stream, IEquatable<NSObject>, INSObjectProtocol, INativeObject, IDisposable, IDataStream<TDataChannel>, IStream where TDataChannel : DataChannelBase<TDataChannel>
    Type Parameters
    Name Description
    TDataChannel

    Constructors

    DataStreamBase()

    Initializes a new instance of the DataStreamBase<TDataChannel> class.

    Declaration
    public DataStreamBase()

    Properties

    BytesReceived

    Gets the number of bytes received.

    Declaration
    public long BytesReceived { get; }
    Property Value
    Type Description
    System.Int64

    BytesSent

    Gets the number of bytes sent.

    Declaration
    public long BytesSent { get; }
    Property Value
    Type Description
    System.Int64

    CanonicalName

    Gets the canonical name.

    Declaration
    [Obsolete("Will be removed in a future release.")]
    public string CanonicalName { get; }
    Property Value
    Type Description
    System.String

    Channels

    Gets the channels.

    Declaration
    public abstract TDataChannel[] Channels { get; }
    Property Value
    Type Description
    TDataChannel[]

    Direction

    Gets the current direction.

    Declaration
    public override StreamDirection Direction { get; }
    Property Value
    Type Description
    StreamDirection
    Overrides
    StreamBase.Direction

    Info

    Gets the data stream info.

    Declaration
    public DataStreamInfo Info { get; }
    Property Value
    Type Description
    DataStreamInfo

    Label

    Gets a label that identifies this class.

    Declaration
    public override string Label { get; }
    Property Value
    Type Description
    System.String
    Overrides
    StreamBase.Label

    LocalDirection

    Gets or sets the current direction.

    Declaration
    public override StreamDirection LocalDirection { get; set; }
    Property Value
    Type Description
    StreamDirection
    Overrides
    StreamBase.LocalDirection

    MessagesReceived

    Gets the number of messages received.

    Declaration
    public long MessagesReceived { get; }
    Property Value
    Type Description
    System.Int64

    MessagesSent

    Gets the number of messages sent.

    Declaration
    public long MessagesSent { get; }
    Property Value
    Type Description
    System.Int64

    RemoteDirection

    Gets or sets the current direction.

    Declaration
    public override StreamDirection RemoteDirection { get; }
    Property Value
    Type Description
    StreamDirection
    Overrides
    StreamBase.RemoteDirection

    Methods

    AttachToChannel(TDataChannel)

    Attaches a data channel to this stream (events and IDs).

    Declaration
    protected void AttachToChannel(TDataChannel channel)
    Parameters
    Type Name Description
    TDataChannel channel

    ChangeDirection(StreamDirection)

    Changes this stream's direction

    Declaration
    public override Error ChangeDirection(StreamDirection newDirection)
    Parameters
    Type Name Description
    StreamDirection newDirection
    Returns
    Type Description
    Error
    Overrides
    StreamBase.ChangeDirection(StreamDirection)

    ProcessStateChange()

    Processes a state change.

    Declaration
    protected override void ProcessStateChange()
    Overrides
    StreamBase.ProcessStateChange()

    ProcessStateLockChange()

    Processes a state lock change.

    Declaration
    protected override void ProcessStateLockChange()
    Overrides
    StreamBase.ProcessStateLockChange()

    RegisterDataReceived(Int32)

    Registers that a data has been received.

    Declaration
    protected void RegisterDataReceived(int dataLength)
    Parameters
    Type Name Description
    System.Int32 dataLength

    The data length.

    RegisterDataSent(Int32)

    Registers that a data has been received.

    Declaration
    protected void RegisterDataSent(int dataLength)
    Parameters
    Type Name Description
    System.Int32 dataLength

    The data length.

    Implements

    System.IEquatable<T>
    Foundation.INSObjectProtocol
    ObjCRuntime.INativeObject
    System.IDisposable
    IDataStream<TDataChannel>
    IStream
    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.19.0