Skip to main content
Version: 2026.0

PeerData

Stellt einem Javascript Aufruf Daten einer IPeer Implementierung und dessen Server zur Verfügung.

Methods​

getConnectionTime​

getConnectionTime(): number

Returns the time at which the peer logged on to the server.

Returns​

number

the number of milliseconds since January 1, 1970, 00:00:00 GMT.


getHost​

getHost(): string

Returns the peers IP Address.

Returns​

string

the peers IP Address.


getID​

getID(): string

Returns the peers unique ID.

Returns​

string

the peers unique ID.


getLastCmdTime​

getLastCmdTime(): number

Returns the time of the peers last command.

Returns​

number

the number of milliseconds since January 1, 1970, 00:00:00 GMT.


getLicenseID​

getLicenseID(): string

Returns the peers License ID.

Returns​

string

the peers License ID.


getMaster​

getMaster(): string

Returns the id of the server to which this peer is connected.

Returns​

string

the id of the server to which this peer is connected.


getVersion​

getVersion(): string

Returns the peers version.

Returns​

string

the peers version.