C# Class IrcDotNet.IrcBot

Inheritance: IDisposable
Afficher le fichier Open project: IrcDotNet/IrcDotNet Class Usage Examples

Méthodes publiques

Méthode Description
Disconnect ( string server ) : void
Dispose ( ) : void
IrcBot ( ) : System
Run ( ) : void
Stop ( ) : void

Méthodes protégées

Méthode Description
Connect ( string server, IrcRegistrationInfo registrationInfo ) : void
Dispose ( bool disposing ) : void
GetClientFromServerNameMask ( string serverNameMask ) : IrcClient
GetDefaultReplyTarget ( IrcClient client, IIrcMessageSource source, IList targets ) : IList
InitializeChatCommandProcessors ( ) : void
InitializeCommandProcessors ( ) : void
OnChannelMessageReceived ( IrcChannel channel, IrcMessageEventArgs e ) : void
OnChannelNoticeReceived ( IrcChannel channel, IrcMessageEventArgs e ) : void
OnChannelUserJoined ( IrcChannel channel, IrcChannelUserEventArgs e ) : void
OnChannelUserLeft ( IrcChannel channel, IrcChannelUserEventArgs e ) : void
OnClientConnect ( IrcClient client ) : void
OnClientDisconnect ( IrcClient client ) : void
OnClientRegistered ( IrcClient client ) : void
OnLocalUserJoinedChannel ( IrcLocalUser localUser, IrcChannelEventArgs e ) : void
OnLocalUserLeftChannel ( IrcLocalUser localUser, IrcChannelEventArgs e ) : void
OnLocalUserMessageReceived ( IrcLocalUser localUser, IrcMessageEventArgs e ) : void
OnLocalUserNoticeReceived ( IrcLocalUser localUser, IrcMessageEventArgs e ) : void

Private Methods

Méthode Description
IrcClient_Channel_MessageReceived ( object sender, IrcMessageEventArgs e ) : void
IrcClient_Channel_NoticeReceived ( object sender, IrcMessageEventArgs e ) : void
IrcClient_Channel_UserJoined ( object sender, IrcChannelUserEventArgs e ) : void
IrcClient_Channel_UserLeft ( object sender, IrcChannelUserEventArgs e ) : void
IrcClient_Connected ( object sender, EventArgs e ) : void
IrcClient_Disconnected ( object sender, EventArgs e ) : void
IrcClient_LocalUser_JoinedChannel ( object sender, IrcChannelEventArgs e ) : void
IrcClient_LocalUser_LeftChannel ( object sender, IrcChannelEventArgs e ) : void
IrcClient_LocalUser_MessageReceived ( object sender, IrcMessageEventArgs e ) : void
IrcClient_LocalUser_NoticeReceived ( object sender, IrcMessageEventArgs e ) : void
IrcClient_Registered ( object sender, EventArgs e ) : void
ReadChatCommand ( IrcClient client, IrcMessageEventArgs eventArgs ) : bool
ReadChatCommand ( IrcClient client, IIrcMessageSource source, IList targets, string command, string parameters ) : void
ReadCommand ( string command, IList parameters ) : void

Method Details

Connect() protected méthode

protected Connect ( string server, IrcRegistrationInfo registrationInfo ) : void
server string
registrationInfo IrcRegistrationInfo
Résultat void

Disconnect() public méthode

public Disconnect ( string server ) : void
server string
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

GetClientFromServerNameMask() protected méthode

protected GetClientFromServerNameMask ( string serverNameMask ) : IrcClient
serverNameMask string
Résultat IrcClient

GetDefaultReplyTarget() protected méthode

protected GetDefaultReplyTarget ( IrcClient client, IIrcMessageSource source, IList targets ) : IList
client IrcClient
source IIrcMessageSource
targets IList
Résultat IList

InitializeChatCommandProcessors() protected abstract méthode

protected abstract InitializeChatCommandProcessors ( ) : void
Résultat void

InitializeCommandProcessors() protected abstract méthode

protected abstract InitializeCommandProcessors ( ) : void
Résultat void

IrcBot() public méthode

public IrcBot ( ) : System
Résultat System

OnChannelMessageReceived() protected méthode

protected OnChannelMessageReceived ( IrcChannel channel, IrcMessageEventArgs e ) : void
channel IrcChannel
e IrcMessageEventArgs
Résultat void

OnChannelNoticeReceived() protected méthode

protected OnChannelNoticeReceived ( IrcChannel channel, IrcMessageEventArgs e ) : void
channel IrcChannel
e IrcMessageEventArgs
Résultat void

OnChannelUserJoined() protected méthode

protected OnChannelUserJoined ( IrcChannel channel, IrcChannelUserEventArgs e ) : void
channel IrcChannel
e IrcChannelUserEventArgs
Résultat void

OnChannelUserLeft() protected méthode

protected OnChannelUserLeft ( IrcChannel channel, IrcChannelUserEventArgs e ) : void
channel IrcChannel
e IrcChannelUserEventArgs
Résultat void

OnClientConnect() protected méthode

protected OnClientConnect ( IrcClient client ) : void
client IrcClient
Résultat void

OnClientDisconnect() protected méthode

protected OnClientDisconnect ( IrcClient client ) : void
client IrcClient
Résultat void

OnClientRegistered() protected méthode

protected OnClientRegistered ( IrcClient client ) : void
client IrcClient
Résultat void

OnLocalUserJoinedChannel() protected méthode

protected OnLocalUserJoinedChannel ( IrcLocalUser localUser, IrcChannelEventArgs e ) : void
localUser IrcLocalUser
e IrcChannelEventArgs
Résultat void

OnLocalUserLeftChannel() protected méthode

protected OnLocalUserLeftChannel ( IrcLocalUser localUser, IrcChannelEventArgs e ) : void
localUser IrcLocalUser
e IrcChannelEventArgs
Résultat void

OnLocalUserMessageReceived() protected méthode

protected OnLocalUserMessageReceived ( IrcLocalUser localUser, IrcMessageEventArgs e ) : void
localUser IrcLocalUser
e IrcMessageEventArgs
Résultat void

OnLocalUserNoticeReceived() protected méthode

protected OnLocalUserNoticeReceived ( IrcLocalUser localUser, IrcMessageEventArgs e ) : void
localUser IrcLocalUser
e IrcMessageEventArgs
Résultat void

Run() public méthode

public Run ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void