Search
Preparing search index...
The search index is not available
aws-amplify
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
AWSAppSyncProvider
Class AWSAppSyncProvider
Hierarchy
MqttOverWSProvider
AWSAppSyncProvider
Implements
any
Index
Constructors
constructor
Properties
_topic
Observers
Accessors
client
Id
clients
Queue
endpoint
options
Methods
configure
connect
disconnect
get
Category
get
Provider
Name
get
Topic
For
Value
new
Client
on
Disconnect
publish
subscribe
Constructors
constructor
new AWSApp
Sync
Provider
(
options
?:
MqttProvidertOptions
)
:
AWSAppSyncProvider
Parameters
Default value
options:
MqttProvidertOptions
= {}
Returns
AWSAppSyncProvider
Properties
Protected
_topic
Observers
_topic
Observers
:
Map
<
string
,
Set
<
SubscriptionObserver
<
any
>
>
>
= new Map()
Accessors
Protected
client
Id
get
clientId
(
)
:
any
Returns
any
Protected
clients
Queue
get
clientsQueue
(
)
:
ClientsQueue
Returns
ClientsQueue
Protected
endpoint
get
endpoint
(
)
:
void
Returns
void
Protected
options
get
options
(
)
:
ProvidertOptions
Returns
ProvidertOptions
Methods
configure
configure
(
config
?:
ProvidertOptions
)
:
ProvidertOptions
Parameters
Default value
config:
ProvidertOptions
= {}
Returns
ProvidertOptions
Protected
connect
connect
(
clientId
:
string
, options
?:
MqttProvidertOptions
)
:
Promise
<
Paho.Client
>
Parameters
clientId:
string
Default value
options:
MqttProvidertOptions
= {}
Returns
Promise
<
Paho.Client
>
Protected
disconnect
disconnect
(
clientId
:
string
)
:
Promise
<
void
>
Parameters
clientId:
string
Returns
Promise
<
void
>
get
Category
get
Category
(
)
:
string
Returns
string
get
Provider
Name
get
Provider
Name
(
)
:
string
Returns
string
Protected
get
Topic
For
Value
get
Topic
For
Value
(
value
:
any
)
:
any
Parameters
value:
any
Returns
any
new
Client
new
Client
(
__namedParameters
:
object
)
:
Promise
<
Paho.Client
>
Parameters
__namedParameters:
object
client
Id
:
string
url
:
string
Returns
Promise
<
Paho.Client
>
on
Disconnect
on
Disconnect
(
__namedParameters
:
object
)
:
void
Parameters
__namedParameters:
object
args
:
args
client
Id
:
any
error
Code
:
any
Returns
void
publish
publish
(
topics
:
string
[]
|
string
, msg
:
any
, options
?:
any
)
:
Promise
<
void
>
Parameters
topics:
string
[]
|
string
msg:
any
Optional
options:
any
Returns
Promise
<
void
>
subscribe
subscribe
(
topics
:
string
[]
|
string
, options
?:
any
)
:
Observable
<
any
>
Parameters
topics:
string
[]
|
string
Default value
options:
any
= {}
Returns
Observable
<
any
>
Globals
AWSApp
Sync
Provider
constructor
_topic
Observers
client
Id
clients
Queue
endpoint
options
configure
connect
disconnect
get
Category
get
Provider
Name
get
Topic
For
Value
new
Client
on
Disconnect
publish
subscribe