C# Class fCraft.IRC.IrcThread

Class represents an IRC connection/thread. There is an undocumented option (IRCThreads) to "load balance" the outgoing messages between multiple bots. If that's the case, several IrcThread objects are created. The bots grab messages from IRC.outputQueue whenever they are not on cooldown (a bit of an intentional race condition).
Inheritance: IDisposable
Afficher le fichier Open project: fragmer/fCraft

Private Properties

Свойство Type Description
AuthWithNickServ void
ClearLocalQueue void
Connect void
HandleMessage void
IoThread void
LogDisconnectWarning void
RetryForDesiredNick void
Send void

Méthodes publiques

Méthode Description
DisconnectThread ( [ quitMsg ) : void
Dispose ( ) : void
IrcThread ( [ botNick ) : System
Start ( bool parseInput ) : bool

Private Methods

Méthode Description
AuthWithNickServ ( ) : void
ClearLocalQueue ( ) : void
Connect ( ) : void
HandleMessage ( [ message ) : void
IoThread ( ) : void
LogDisconnectWarning ( [ ex ) : void
RetryForDesiredNick ( ) : void
Send ( [ msg ) : void

Method Details

DisconnectThread() public méthode

public DisconnectThread ( [ quitMsg ) : void
quitMsg [
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

IrcThread() public méthode

public IrcThread ( [ botNick ) : System
botNick [
Résultat System

Start() public méthode

public Start ( bool parseInput ) : bool
parseInput bool
Résultat bool