Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PluginStream

Hierarchy

  • Dynamic
    • PluginStream

Implements

  • IStream
  • IInternalStream

Index

Constructors

constructor

Methods

Abstract _getExternal

  • _getExternal(): IExternalStream
  • internal

    Returns IExternalStream

Abstract addOnDirectionChange

  • addOnDirectionChange(value: IAction0): void
  • Parameters

    • value: IAction0

    Returns void

Abstract changeDirection

  • changeDirection(newDirection: StreamDirection): Error
  • Parameters

    • newDirection: StreamDirection

    Returns Error

Abstract getDirection

  • getDirection(): StreamDirection
  • Returns StreamDirection

getDynamicProperties

  • getDynamicProperties(): Hash<string, Object>
  • Gets the dynamic properties on this instance.

    Returns Hash<string, Object>

getDynamicValue

  • getDynamicValue(key: string): Object
  • Gets a property value from the local cache.

    Parameters

    • key: string

      The property key. This key is used internally only, but should be namespaced to avoid conflict with third-party extensions.

    Returns Object

    The stored value, if found; otherwise null.

Abstract getHandle

  • getHandle(): number
  • Returns number

Abstract getId

  • getId(): string
  • Returns string

getIsDirty

  • getIsDirty(): boolean
  • Gets a value indicating whether this instance is dirty.
    internal

    Returns boolean

getIsSerialized

  • getIsSerialized(): boolean

Abstract getLabel

  • getLabel(): string
  • Returns string

Abstract getLocalDirection

  • getLocalDirection(): StreamDirection
  • Returns StreamDirection

Abstract getLocalReceive

  • getLocalReceive(): boolean
  • Returns boolean

Abstract getLocalSend

  • getLocalSend(): boolean
  • Returns boolean

Abstract getRemoteDirection

  • getRemoteDirection(): StreamDirection
  • Returns StreamDirection

Abstract getRemoteReceive

  • getRemoteReceive(): boolean
  • Returns boolean

Abstract getRemoteSend

  • getRemoteSend(): boolean
  • Returns boolean

getSerialized

  • getSerialized(): string

Abstract getTag

  • getTag(): string
  • Returns string

Abstract getType

  • getType(): StreamType
  • Returns StreamType

getTypeString

  • getTypeString(): string

Abstract removeOnDirectionChange

  • removeOnDirectionChange(value: IAction0): void
  • Parameters

    • value: IAction0

    Returns void

setDynamicProperties

  • setDynamicProperties(value: Hash<string, Object>): void
  • internal

    Parameters

    • value: Hash<string, Object>

    Returns void

setDynamicValue

  • setDynamicValue(key: string, value: Object): void
  • Sets a property value in the local cache.

    Parameters

    • key: string

      The property key. This key is used internally only, but should be namespaced to avoid conflict with third-party extensions.

    • value: Object

      The property value. This can be any object that needs to be stored for future use.

    Returns void

Abstract setId

  • setId(value: string): void
  • Parameters

    • value: string

    Returns void

setIsDirty

  • setIsDirty(value: boolean): void
  • Sets a value indicating whether this instance is dirty.
    internal

    Parameters

    • value: boolean

    Returns void

setIsSerialized

  • setIsSerialized(value: boolean): void
  • internal

    Parameters

    • value: boolean

    Returns void

Abstract setLocalDirection

  • setLocalDirection(value: StreamDirection): void
  • Parameters

    • value: StreamDirection

    Returns void

Abstract setLocalReceive

  • setLocalReceive(localReceiveEnabled: boolean): void
  • Parameters

    • localReceiveEnabled: boolean

    Returns void

Abstract setLocalSend

  • setLocalSend(localSendEnabled: boolean): void
  • Parameters

    • localSendEnabled: boolean

    Returns void

setSerialized

  • setSerialized(value: string): void
  • internal

    Parameters

    • value: string

    Returns void

Abstract setTag

  • setTag(value: string): void
  • Parameters

    • value: string

    Returns void

unsetDynamicValue

  • unsetDynamicValue(key: string): boolean
  • Unsets a property value in the local cache.

    Parameters

    • key: string

      The property key. This key is used internally only, but should be namespaced to avoid conflict with third-party extensions.

    Returns boolean

    true if the value was removed; otherwise, false.