Class: Server

Server

The Server class.

Constructor

new Server()

Extends

Members

(readonly) id :Integer

The ID of this object.

Type:
  • Integer
Inherited From:

mappings :Object.<string, string>

Infrastructure ID mappings for the remote server node. This is only relevant if the Server#serverId is not 0. Used to allow different database connections to be used by the server nodes.

Type:
  • Object.<string, string>
See:

name :String

The name of this object.

Type:
  • String
Inherited From:

networkAddress :String

Address of the remote server node.

Type:
  • String

properties :Object.<string, string>

A place to store arbitrary string properties. In some cases objects store their configuration inside this hash/dictionary. If you store custom properties make sure you prefix them with your moduleId.

Type:
  • Object.<string, string>
Inherited From:
See:
  • upgrade_module

reference :String

The reference of this object. May only contain the characters A-Za-z0-9_.+: -.

Type:
  • String
Inherited From:
Default Value:
  • ""

serverId :Integer

The NodeId of this server node. Valid values: 0-255. It is allowed to define multiple servers with a NodeId of 0 but no more than one server may have the same non 0 NodeId. Servers with NodeId 0 are only used to perform distributed request resolution whereas servers with NodeId > 0 participate in clustering.

Type:
  • Integer
Default Value:
  • 0

serverPort :Integer

Port of the remote Server service.

Type:
  • Integer
Default Value:
  • 10000

status :ElementStatus

The object status.

Type:
Inherited From:
Default Value:
  • ElementStatus.Active

workerPort :Integer

Port of the remote Worker service.

Type:
  • Integer
Default Value:
  • 10004