C# Class core.Core

Afficher le fichier Open project: Pure-Battlefield/gswat Class Usage Examples

Méthodes publiques

Méthode Description
Connect ( string address, int port, string password, string oldPass ) : String
Core ( ) : System

Constructs an instance of Core Registers handlers to catch ChatMessage events

GetMessageQueue ( ) : IEnumerable
GetMessagesFromDate ( DateTime date ) : IEnumerable
GetMoreMessages ( int numMessages ) : IEnumerable
LoadExistingConnection ( ) : void
LoadServerSettings ( String partitionKey, String rowKey ) : ServerConfig

Queries TableStore for server settings

Log ( String funcName, String message ) : void

Log

MessageHandler ( object sender, ChatEventArgs e ) : void

Private Methods

Méthode Description
EnqueueMessage ( ChatMessage msg ) : void

Enqueues a message into both Table Store and the current cached queue

Method Details

Connect() public méthode

public Connect ( string address, int port, string password, string oldPass ) : String
address string
port int
password string
oldPass string
Résultat String

Core() public méthode

Constructs an instance of Core Registers handlers to catch ChatMessage events
public Core ( ) : System
Résultat System

GetMessageQueue() public méthode

public GetMessageQueue ( ) : IEnumerable
Résultat IEnumerable

GetMessagesFromDate() public méthode

public GetMessagesFromDate ( DateTime date ) : IEnumerable
date DateTime
Résultat IEnumerable

GetMoreMessages() public méthode

public GetMoreMessages ( int numMessages ) : IEnumerable
numMessages int
Résultat IEnumerable

LoadExistingConnection() public méthode

public LoadExistingConnection ( ) : void
Résultat void

LoadServerSettings() public méthode

Queries TableStore for server settings
public LoadServerSettings ( String partitionKey, String rowKey ) : ServerConfig
partitionKey String Partition key to query for
rowKey String Row key to query for
Résultat ServerConfig

Log() public méthode

Log
public Log ( String funcName, String message ) : void
funcName String Current function on the stack
message String Message to log
Résultat void

MessageHandler() public méthode

public MessageHandler ( object sender, ChatEventArgs e ) : void
sender object
e ChatEventArgs
Résultat void