Since: 1.13.0

final class ServerHeartbeatFailedEvent (View source)

Methods

int
getDurationMicros()

Returns the heartbeat's duration in microseconds

getError()

Returns the Exception associated with the failed heartbeat

int
getPort()

Returns the port on which this server is listening

string
getHost()

Returns the hostname of the server

bool
isAwaited()

Returns whether the heartbeat used a streaming protocol

void
__wakeup()

No description

Details

final int getDurationMicros()

Returns the heartbeat's duration in microseconds

Return Value

int

final Exception getError()

Returns the Exception associated with the failed heartbeat

Return Value

Exception

final int getPort()

Returns the port on which this server is listening

Return Value

int

final string getHost()

Returns the hostname of the server

Return Value

string

final bool isAwaited()

Returns whether the heartbeat used a streaming protocol

Return Value

bool

final void __wakeup()

No description

Return Value

void