C# Класс Examples.ClientUsingPings

This is a simple client example that pings the server and prints out the round-trip time. This uses the IPings feature only.
Показать файл Открыть проект

Открытые методы

Метод Описание
ClientUsingPings ( ) : PushTechnology.ClientInterface.Client.Factories
Close ( ) : void

Close the session.

Ping ( string context, IPingContextCallback callback ) : void

Ping the server.

Описание методов

ClientUsingPings() публичный Метод

public ClientUsingPings ( ) : PushTechnology.ClientInterface.Client.Factories
Результат PushTechnology.ClientInterface.Client.Factories

Close() публичный Метод

Close the session.
public Close ( ) : void
Результат void

Ping() публичный Метод

Ping the server.
public Ping ( string context, IPingContextCallback callback ) : void
context string The string to log with round-trip time.
callback IPingContextCallback Used to return the ping reply.
Результат void