ChannelBase Class |
Namespace: OpenFin.FDC3.Channels
The ChannelBase type exposes the following members.
| Name | Description | |
|---|---|---|
| ChannelBase | Initializes a new instance of the ChannelBase class |
| Name | Description | |
|---|---|---|
| AddContextListenerAsync |
Adds the event that is fired when a window broadcasts on this channel
| |
| AddEventListenerAsync | ||
| BroadcastAsync |
Broadcasts the given context on this channel.
Note that this function ca be used without first joining the channel, allowing applciations to broadcast on channels they are not members.
This broadcast will be receied by all windows that are members of this channel, except for the window that makes the broadcast.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetCurrentContextAsync |
Returns the last context that was broadcast on this channel. All channels initially have no context, until a window is added to the channel and then broadcasts.
The context of a channel will be captured regardless of how it's set on the channel.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetMembersAsync |
Returns a collection of all windows connected to this channel.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| JoinAsync |
Adds the provided window to this channel.
If this channel has a current context, the context will be passed to the window through its context listener upon joining this channel.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| RemoveContextListener |
Removes the event fired when a window
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| UnsubscribeEventListenerAsync |
| Name | Description | |
|---|---|---|
| ChannelType |