VivochaData

Table of Contents

new VivochaData()

Internal constructor, not to be used directly.

Extends

Methods

send(data, topicopt)

Send data to the remote party, with optional topic

Parameters:
Name Type Attributes Description
data string

Data to send. Must be serializable into a string.

topic string <optional>

User-defined topic of the message. If no topic is specified, a data event is fired on the remote end. Otherwise, the name event fired will be the value of topic.

send(data, topicopt)

Send data to the remote party, with optional topic

Parameters:
Name Type Attributes Description
data string

Data to send. Must be serializable into a string.

topic string <optional>

User-defined topic of the message. If no topic is specified, a data event is fired on the remote end. Otherwise, the name event fired will be the value of topic.

send(data, topicopt)

Send data to the remote party, with optional topic

Parameters:
Name Type Attributes Description
data string

Data to send. Must be serializable into a string.

topic string <optional>

User-defined topic of the message. If no topic is specified, a data event is fired on the remote end. Otherwise, the name event fired will be the value of topic.

Events

data

Overrides:
Properties:
Name Type Attributes Description
channel string

The channel id the received the message.

data string

The message payload.

topic string <optional>

The topic.

Data was received from the remote side. If a topic was specified in the message, the event fired will be the topic, and not data

Table of Contents

new VivochaData()

Internal constructor, not to be used directly.

Extends

Methods

send(data, topicopt)

Send data to the remote party, with optional topic

Parameters:
Name Type Attributes Description
data string

Data to send. Must be serializable into a string.

topic string <optional>

User-defined topic of the message. If no topic is specified, a data event is fired on the remote end. Otherwise, the name event fired will be the value of topic.

send(data, topicopt)

Send data to the remote party, with optional topic

Parameters:
Name Type Attributes Description
data string

Data to send. Must be serializable into a string.

topic string <optional>

User-defined topic of the message. If no topic is specified, a data event is fired on the remote end. Otherwise, the name event fired will be the value of topic.

send(data, topicopt)

Send data to the remote party, with optional topic

Parameters:
Name Type Attributes Description
data string

Data to send. Must be serializable into a string.

topic string <optional>

User-defined topic of the message. If no topic is specified, a data event is fired on the remote end. Otherwise, the name event fired will be the value of topic.

Events

data

Overrides:
Properties:
Name Type Attributes Description
channel string

The channel id the received the message.

data string

The message payload.

topic string <optional>

The topic.

Data was received from the remote side. If a topic was specified in the message, the event fired will be the topic, and not data

Table of Contents

new VivochaData()

Internal constructor, not to be used directly.

Extends

Methods

send(data, topicopt)

Send data to the remote party, with optional topic

Parameters:
Name Type Attributes Description
data string

Data to send. Must be serializable into a string.

topic string <optional>

User-defined topic of the message. If no topic is specified, a data event is fired on the remote end. Otherwise, the name event fired will be the value of topic.

send(data, topicopt)

Send data to the remote party, with optional topic

Parameters:
Name Type Attributes Description
data string

Data to send. Must be serializable into a string.

topic string <optional>

User-defined topic of the message. If no topic is specified, a data event is fired on the remote end. Otherwise, the name event fired will be the value of topic.

send(data, topicopt)

Send data to the remote party, with optional topic

Parameters:
Name Type Attributes Description
data string

Data to send. Must be serializable into a string.

topic string <optional>

User-defined topic of the message. If no topic is specified, a data event is fired on the remote end. Otherwise, the name event fired will be the value of topic.

Events

data

Overrides:
Properties:
Name Type Attributes Description
channel string

The channel id the received the message.

data string

The message payload.

topic string <optional>

The topic.

Data was received from the remote side. If a topic was specified in the message, the event fired will be the topic, and not data