Closes the channel to the Liberator. This will result in a corresponding call to onChannelClose
declared in ChannelListener on the DataSource. The delay before onChannelClose is called is defined by the
Liberator configuration item, active-discard-timeout.
Returns void
getSubject
getSubject(): string
Returns the subject name to which the channel relates.
Returns string
The subject of this channel.
send
send(obj, commandListener): void
Sends object as JSON to the channel subject
Parameters
obj: any
the object to send in JSON format (using the installed JsonHandler to serialize the object to JSON)
Name
JsonChannel