Search
Preparing search index...
The search index is not available
@leftshiftone/convey
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
Subscription
Class Subscription
Hierarchy
Subscription
InteractionSubscription
Index
Constructors
constructor
Properties
behaviour
Bind
callback
header
mqtt
Sensor
Queue
type
Methods
bind
get
Topic
on
Message
publish
unsubscribe
Constructors
constructor
new
Subscription
(
type
:
ConversationQueueType
, header
:
QueueHeader
, callback
:
QueueCallback
, mqttSensorQueue
:
MqttSensorQueue
)
:
Subscription
Parameters
type:
ConversationQueueType
header:
QueueHeader
callback:
QueueCallback
mqttSensorQueue:
MqttSensorQueue
Returns
Subscription
Properties
behaviour
Bind
behaviour
Bind
:
Array
<
IBehaviour
>
= []
callback
callback
:
QueueCallback
header
header
:
QueueHeader
mqtt
Sensor
Queue
mqtt
Sensor
Queue
:
MqttSensorQueue
type
type
:
ConversationQueueType
Methods
bind
bind
(
behaviour
:
IBehaviour
)
:
void
Parameters
behaviour:
IBehaviour
Returns
void
get
Topic
get
Topic
(
)
:
string
Returns
string
on
Message
on
Message
(
message
:
object
)
:
void
Parameters
message:
object
Returns
void
publish
publish
(
payload
:
IEventPayload
)
:
void
Parameters
payload:
IEventPayload
Returns
void
unsubscribe
unsubscribe
(
)
:
void
Returns
void
Globals
Subscription
constructor
behaviour
Bind
callback
header
mqtt
Sensor
Queue
type
bind
get
Topic
on
Message
publish
unsubscribe
Generated using
TypeDoc