C# Class 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.
Inheritance: PeerMessage
Afficher le fichier Open project: tenor/p2pStateServer

Méthodes publiques

Méthode Description
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

Method Details

Forward() public méthode

Forward the message to connected peers
public Forward ( ) : void
Résultat void

PingReplyMessage() public méthode

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
Résultat System

Process() public méthode

Process the message
public Process ( ) : void
Résultat void

Send() public static méthode

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
Résultat void