Preparing search index...
The search index is not available
openfin-adapter
openfin-adapter
OpenFin
ChannelProvider
Class ChannelProvider
Hierarchy
ChannelBase
ChannelProvider
Index
Constructors
constructor
Accessors
connections
Methods
after
Action
before
Action
destroy
dispatch
get
All
Client
Info
on
Connection
on
Disconnection
on
Error
process
Connection
publish
register
remove
set
Default
Action
handle
Client
Disconnection
set
Provider
Removal
Constructors
constructor
new
Channel
Provider
(
providerIdentity
:
ProviderIdentity
, wire
:
Transport
<
EntityType
>
, strategy
:
AnyStrategy
)
:
OpenFin
.
ChannelProvider
Parameters
providerIdentity:
ProviderIdentity
wire:
Transport
<
EntityType
>
strategy:
AnyStrategy
Returns
OpenFin
.
ChannelProvider
Accessors
connections
get
connections
(
)
:
ClientConnectionPayload
[]
Returns
ClientConnectionPayload
[]
Methods
after
Action
after
Action
(
func
:
ChannelMiddleware
)
:
void
Parameters
func:
ChannelMiddleware
Returns
void
before
Action
before
Action
(
func
:
ChannelMiddleware
)
:
void
Parameters
func:
ChannelMiddleware
Returns
void
destroy
destroy
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
dispatch
dispatch
(
to
:
Identity
|
ClientIdentity
, action
:
string
, payload
?:
any
)
:
Promise
<
any
>
Parameters
to:
Identity
|
ClientIdentity
action:
string
Optional
payload:
any
Returns
Promise
<
any
>
get
All
Client
Info
get
All
Client
Info
(
)
:
Promise
<
ClientInfo
[]
>
Returns
Promise
<
ClientInfo
[]
>
on
Connection
on
Connection
(
listener
:
ConnectionListener
)
:
void
Parameters
listener:
ConnectionListener
Returns
void
on
Disconnection
on
Disconnection
(
listener
:
DisconnectionListener
)
:
void
Parameters
listener:
DisconnectionListener
Returns
void
on
Error
on
Error
(
func
:
ErrorMiddleware
)
:
void
Parameters
func:
ErrorMiddleware
Returns
void
process
Connection
process
Connection
(
senderId
:
ClientConnectionPayload
, payload
:
any
)
:
Promise
<
any
>
Parameters
senderId:
ClientConnectionPayload
payload:
any
Returns
Promise
<
any
>
publish
publish
(
action
:
string
, payload
:
any
)
:
Promise
<
any
>
[]
Parameters
action:
string
payload:
any
Returns
Promise
<
any
>
[]
register
register
(
topic
:
string
, listener
:
ChannelAction
)
:
boolean
Parameters
topic:
string
listener:
ChannelAction
Returns
boolean
remove
remove
(
action
:
string
)
:
void
Parameters
action:
string
Returns
void
set
Default
Action
set
Default
Action
(
func
:
ChannelMiddleware
)
:
void
Parameters
func:
ChannelMiddleware
Returns
void
Static
handle
Client
Disconnection
handle
Client
Disconnection
(
channel
:
OpenFin
.
ChannelProvider
, payload
:
any
)
:
void
Parameters
channel:
OpenFin
.
ChannelProvider
payload:
any
Returns
void
Static
set
Provider
Removal
set
Provider
Removal
(
provider
:
OpenFin
.
ChannelProvider
, remove
:
Function
)
:
void
Parameters
provider:
OpenFin
.
ChannelProvider
remove:
Function
Returns
void
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
Modules
openfin-
adapter
Application
Channel
Channel
Client
Channel
Provider
Clipboard
External
Application
Fin
Frame
Global
Hotkey
Inter
Application
Bus
Interop
Interop
Broker
Interop
Client
Layout
Open
Fin
Application
Events
Base
Events
External
Application
Events
Frame
Events
Global
Hotkey
Events
Platform
Events
System
Events
View
Events
Web
Contents
Events
Window
Events
Platform
Platform
Provider
Snapshot
Source
System
View
Window
Channel
Provider
constructor
connections
after
Action
before
Action
destroy
dispatch
get
All
Client
Info
on
Connection
on
Disconnection
on
Error
process
Connection
publish
register
remove
set
Default
Action
handle
Client
Disconnection
set
Provider
Removal
Generated using
TypeDoc