RegisteredServer Class
The information required to register a server with a discovery server.
Constructor
RegisteredServer
-
options
Parameters:
-
options
Object-
[serverUri]
String optionalThe globally unique identifier for the server.
-
[productUri]
String optionalThe globally unique identifier for the product.
-
[serverNames]
LocalizedText[] optionalThe name of server in multiple lcoales.
-
[serverType]
ApplicationType optionalThe type of server.
-
[gatewayServerUri]
String optionalThe globally unique identifier for the server that is acting as a gateway for the server.
-
[discoveryUrls]
String optionalThe URLs for the server's discovery endpoints.
-
[semaphoreFilePath]
String optionalA path to a file that is deleted when the server is no longer accepting connections.
-
[isOnline]
Boolean optionalIf FALSE the server will save the registration information to a persistent datastore.
-
Item Index
Methods
binaryStoreSize
()
Number
Calculate the required size to store this object in a binary stream.
Returns:
decode
-
stream
-
[option]
decode the object from a binary stream
Parameters:
-
stream
BinaryStream -
[option]
Object optional
decode_debug
()
isValid
()
Boolean
verify that all object attributes values are valid according to schema
Returns:
toString
()
String
Returns:
Properties
discoveryUrls
String
The URLs for the server's discovery endpoints.
gatewayServerUri
String
The globally unique identifier for the server that is acting as a gateway for the server.
isOnline
Boolean
If FALSE the server will save the registration information to a persistent datastore.
productUri
String
The globally unique identifier for the product.
semaphoreFilePath
String
A path to a file that is deleted when the server is no longer accepting connections.
serverType
ApplicationType
The type of server.
serverUri
String
The globally unique identifier for the server.