C# Class Bot.Components.IrcComponent

Inheritance: Bot.Core.Component.Component
Exibir arquivo Open project: Crobol/Bot Class Usage Examples

Public Methods

Method Description
Connect ( ServerDescriptor servers ) : void
Exit ( ) : void
IrcComponent ( ITinyMessengerHub hub, IConfig config ) : System
Run ( ) : void

Private Methods

Method Description
IsCommand ( string messageArray ) : bool
OnChannelMessage ( object sender, IrcEventArgs e ) : void
OnChannelNotice ( object sender, IrcEventArgs e ) : void
OnDisconnected ( object sender, EventArgs e ) : void
OnQueryMessage ( object sender, IrcEventArgs e ) : void
OnQueryNotice ( object sender, IrcEventArgs e ) : void
OnSendIrcMessage ( IrcSendMessage message ) : void
ProcessIrcEvent ( IrcEventArgs e ) : void

Method Details

Connect() public method

public Connect ( ServerDescriptor servers ) : void
servers Bot.Core.ServerDescriptor
return void

Exit() public static method

public static Exit ( ) : void
return void

IrcComponent() public method

public IrcComponent ( ITinyMessengerHub hub, IConfig config ) : System
hub ITinyMessengerHub
config IConfig
return System

Run() public method

public Run ( ) : void
return void