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
Show file Open project: GlennMR/800craft

Public Properties

Property Type Description
ActualBotNick string
IsReady bool
ResponsibleForInputParsing bool

Public Methods

Method Description
DisconnectThread ( ) : void
Dispose ( ) : void
Start ( [ botNick, bool parseInput ) : bool

Private Methods

Method Description
Connect ( ) : void
HandleMessage ( [ message ) : void
IoThread ( ) : void
Send ( [ msg ) : void

Method Details

DisconnectThread() public method

public DisconnectThread ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Start() public method

public Start ( [ botNick, bool parseInput ) : bool
botNick [
parseInput bool
return bool

Property Details

ActualBotNick public property

public string ActualBotNick
return string

IsReady public property

public bool IsReady
return bool

ResponsibleForInputParsing public property

public bool ResponsibleForInputParsing
return bool