Diffusion .NET API  5.9.24
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.Client.Features.IPingContextCallback< in TC > Interface Template Reference

Callback interface for IPings.PingServer( TC, IPingContextCallback ). More...

Inheritance diagram for PushTechnology.ClientInterface.Client.Features.IPingContextCallback< in TC >:
PushTechnology.ClientInterface.Client.Features.IContextCallback< in TC >

Public Member Functions

void OnPingResponse (TC context, IPingDetails details)
 Call with ping response from the server. More...
 
- Public Member Functions inherited from PushTechnology.ClientInterface.Client.Features.IContextCallback< in TC >
void OnDiscard (TC context)
 Notification that a context was closed prematurely, typically due to a timeout or the session being closed. No further calls will be made for a context. More...
 

Detailed Description

Callback interface for IPings.PingServer( TC, IPingContextCallback ).

Use this alternative to IPingCallback to associate some arbitrary context object with each call.

Template Parameters
TCThe context object type.

Member Function Documentation

void PushTechnology.ClientInterface.Client.Features.IPingContextCallback< in TC >.OnPingResponse ( TC  context,
IPingDetails  details 
)

Call with ping response from the server.

Parameters
contextThe context object supplied when making the call. May be null.
detailsInformation relating to the ping.

The documentation for this interface was generated from the following file: