$k. ZMQContext

new ZMQContext()

Methods

(static) publish(message, topic, endpoint)

Sends a message and returns the response

Parameters:
NameTypeDescription
messagestring

The message string

topicstring

The topic string

endpointstring

The endpoint string

Since
  • 5.4.0

(static) push(message, endpoint)

Sends a message

Parameters:
NameTypeDescription
messagestring

The message string

endpointstring

The endpoint string

Since
  • 5.4.0

(static) request(message, endpoint, timeoutopt)

Sends a message and returns the response

Parameters:
NameTypeAttributesDescription
messagestring

The message string

endpointstring

The endpoint string

timeoutinteger<optional>

The timeout in milliseconds

Since
  • 5.4.0