 | INameServerHeartbeatProtocolHeartbeat Method |
Sends a heartbeat to the name server.
Namespace: Ookii.Jumbo.DfsAssembly: Ookii.Jumbo.Dfs (in Ookii.Jumbo.Dfs.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
SyntaxHeartbeatResponse[]? 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 ServerAddress
- The ServerAddress of the server sending the heartbeat.
- data HeartbeatData
- The data for the heartbeat.
Return Value
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