C# Класс P2PStateServer.PingReplyMessage

Represents the PingReplyMessage message
The PingReplyMessage is sent in response to a PingMessage This message is only used as a keep-alive mechanism and serves no other purpose. This message can only be transmitted between peers.
Наследование: PeerMessage
Показать файл Открыть проект

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

Метод Описание
Forward ( ) : void

Forward the message to connected peers

PingReplyMessage ( HTTPPartialData Data, StateServer Service ) : System

Initializes a new instance of the PingReplyMessage class

Process ( ) : void

Process the message

Send ( ServiceSocket socket, string ASPNETVersion ) : void

Sends a PingReplyMessage message to a specified ServiceSocket

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

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

Forward the message to connected peers
public Forward ( ) : void
Результат void

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

Initializes a new instance of the PingReplyMessage class
public PingReplyMessage ( HTTPPartialData Data, StateServer Service ) : System
Data HTTPPartialData The HTTPPartialData class to load this instance from
Service StateServer State server instance
Результат System

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

Process the message
public Process ( ) : void
Результат void

Send() публичный статический Метод

Sends a PingReplyMessage message to a specified ServiceSocket
public static Send ( ServiceSocket socket, string ASPNETVersion ) : void
socket ServiceSocket The target ServiceSocket
ASPNETVersion string The state server version
Результат void