C# 클래스 core.Core

파일 보기 프로젝트 열기: Pure-Battlefield/gswat 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
EnqueueMessage ( ChatMessage msg ) : void

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

메소드 상세

Connect() 공개 메소드

public Connect ( string address, int port, string password, string oldPass ) : String
address string
port int
password string
oldPass string
리턴 String

Core() 공개 메소드

Constructs an instance of Core Registers handlers to catch ChatMessage events
public Core ( ) : System
리턴 System

GetMessageQueue() 공개 메소드

public GetMessageQueue ( ) : IEnumerable
리턴 IEnumerable

GetMessagesFromDate() 공개 메소드

public GetMessagesFromDate ( DateTime date ) : IEnumerable
date DateTime
리턴 IEnumerable

GetMoreMessages() 공개 메소드

public GetMoreMessages ( int numMessages ) : IEnumerable
numMessages int
리턴 IEnumerable

LoadExistingConnection() 공개 메소드

public LoadExistingConnection ( ) : void
리턴 void

LoadServerSettings() 공개 메소드

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
리턴 ServerConfig

Log() 공개 메소드

Log
public Log ( String funcName, String message ) : void
funcName String Current function on the stack
message String Message to log
리턴 void

MessageHandler() 공개 메소드

public MessageHandler ( object sender, ChatEventArgs e ) : void
sender object
e ChatEventArgs
리턴 void