| INameServerHeartbeatProtocolHeartbeat Method |
Sends a heartbeat to the name server.
Namespace:
Ookii.Jumbo.Dfs
Assembly:
Ookii.Jumbo.Dfs (in Ookii.Jumbo.Dfs.dll) Version: 2.0.0
Syntax HeartbeatResponse[] Heartbeat(
ServerAddress address,
HeartbeatData[] data
)
Function Heartbeat (
address As ServerAddress,
data As HeartbeatData()
) As HeartbeatResponse()
array<HeartbeatResponse^>^ Heartbeat(
ServerAddress^ address,
array<HeartbeatData^>^ data
)
abstract Heartbeat :
address : ServerAddress *
data : HeartbeatData[] -> HeartbeatResponse[]
Parameters
- address
- Type: Ookii.JumboServerAddress
The ServerAddress of the server sending the heartbeat. - data
- Type: Ookii.Jumbo.DfsHeartbeatData
The data for the heartbeat.
Return Value
Type:
HeartbeatResponseAn array of
HeartbeatResponse for the heartbeat.
Remarks
The
address parameter is necessary because data servers are identified by their
host name and the port number they use to listen for clients, not their host name alone, so the
name server cannot rely on
ClientHostName.
See Also