Diffusion .NET Classic API - Core and Common  5.9.4
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
PushTechnology.DiffusionCore.Connection.Interfaces.IServerPingResponseListener Interface Reference

This is the interface for objects which are to receive ping responses to 'ping' requests sent to the server. More...

Public Member Functions

void ServerPingResponse (string clientId, IServerPingMessage message)
 This is the method on which 'ping' responses are returned. More...
 

Detailed Description

This is the interface for objects which are to receive ping responses to 'ping' requests sent to the server.

Requests are sent using the 'ping' method on a connection to a server.

The listener for requests must be set on any API interface before sending any ping messages to the server.

Member Function Documentation

void PushTechnology.DiffusionCore.Connection.Interfaces.IServerPingResponseListener.ServerPingResponse ( string  clientId,
IServerPingMessage  message 
)

This is the method on which 'ping' responses are returned.

Parameters
clientIdThe client identifier.
messageThe response message.