ClientMessageBrokerFactory

interface ClientMessageBrokerFactory { createMessageBroker(channel: string, runInZone: boolean = true): ClientMessageBroker }

方法

Initializes the given channel and attaches a new ClientMessageBrokerto it.

createMessageBroker(channel: string, runInZone: boolean = true): ClientMessageBroker

参数

channel

Type: string.

runInZone

Type: boolean.

可选. 默认值是 true.

返回值

ClientMessageBroker