C# Class TDSM.Core.Net.Web.Heartbeat

This is a multi purpose class. 1) It sends non identifiable data to the heatbeat server for us to see the stats (when allowed) 2) The heartbeat server will reply with particular case data. Responses are: a) 1 = OK b) 2 = Update available
Datei anzeigen Open project: DeathCradle/Terraria-s-Dedicated-Server-Mod

Private Properties

Property Type Description
Beat void
GetServerKey string
OnReadyForCommands void
SetServerKey void

Public Methods

Method Description
Begin ( int coreBuild ) : void
End ( ) : void

Private Methods

Method Description
Beat ( bool allowSubBeat = true ) : void
GetServerKey ( ) : string
OnReadyForCommands ( Entry core ) : void
SetServerKey ( string key ) : void

Method Details

Begin() public static method

public static Begin ( int coreBuild ) : void
coreBuild int
return void

End() public static method

public static End ( ) : void
return void