Service

Holds properties of service and node that its containing

package

Default

Methods

Service constructor

__construct( $service = null) 

Arguments

$service

mixed | null

getAddress

getAddress() : string

Response

string

getId

getId() : string

Response

string

getMeta

getMeta() : array

Response

array

getName

getName() : string

Response

string

getNode

getNode() : string

Response

string

getNodeAddress

getNodeAddress() : string

Response

string

getPort

getPort() : integer

Response

integer

getTags

getTags() : array

Response

array

setAddress

setAddress( $address) : $this

Arguments

$address

string

Response

$this

setId

setId( $id) : $this

Arguments

$id

string

Response

$this

setMeta

setMeta( $meta) : $this

Arguments

$meta

string

Response

$this

setName

setName( $name) : $this

Arguments

$name

string

Response

$this

setNode

setNode( $node) : $this

Arguments

$node

string

Response

$this

setNodeAddress

setNodeAddress( $nodeAddress) : $this

Arguments

$nodeAddress

string

Response

$this

setPort

setPort( $port) : $this

Arguments

$port

integer

Response

$this

setTags

setTags( $tags) : $this

Arguments

$tags

string

Response

$this