Home Reference Source
public class | source

MessageClient

Messaging Class for the Client component.

Constructor Summary

Public Constructor
public

Constructor for the MessageServer.

Member Summary

Public Members
public

sock: *

Describes the kind of socket.

Method Summary

Public Methods
public

sendMessage(topic: string, message: string)

Sends a message to the connected Router.

Public Constructors

public constructor() source

Constructor for the MessageServer.

Public Members

public sock: * source

Describes the kind of socket. In this case a dealer socket.

Public Methods

public sendMessage(topic: string, message: string) source

Sends a message to the connected Router.

Params:

NameTypeAttributeDescription
topic string

Describes the context.

message string

Actual message content.