PHP Class AppserverIo\Appserver\Core\Api\Node\StorageServerNode

Inheritance: extends AppserverIo\Description\Api\Node\AbstractNode
Afficher le fichier Open project: appserver-io/appserver

Protected Properties

Свойство Type Description
$address string The server's IP address.
$port integer The server's port.
$weight integer The server's weight.

Méthodes publiques

Méthode Description
getAddress ( ) : string Returns the IP address the server listens to.
getPort ( ) : string Returns the port the server listens to.
getWeight ( ) : integer Returns weight the server has in the storage cluster.

Method Details

getAddress() public méthode

Returns the IP address the server listens to.
public getAddress ( ) : string
Résultat string the IP address the server listens to

getPort() public méthode

Returns the port the server listens to.
public getPort ( ) : string
Résultat string the port the server listens to

getWeight() public méthode

Returns weight the server has in the storage cluster.
public getWeight ( ) : integer
Résultat integer The weight the server has in the storage cluster

Property Details

$address protected_oe property

The server's IP address.
protected string $address
Résultat string

$port protected_oe property

The server's port.
protected int $port
Résultat integer

$weight protected_oe property

The server's weight.
protected int $weight
Résultat integer