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
Datei anzeigen Open project: tenor/p2pStateServer

Public Methods

Method 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 method

Forward the message to connected peers
public Forward ( ) : void
return void

PingReplyMessage() public method

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
return System

Process() public method

Process the message
public Process ( ) : void
return void

Send() public static method

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
return void