C# Класс IrcDotNet.IrcBot

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Disconnect ( string server ) : void
Dispose ( ) : void
IrcBot ( ) : System
Run ( ) : void
Stop ( ) : void

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

Connect() защищенный Метод

protected Connect ( string server, IrcRegistrationInfo registrationInfo ) : void
server string
registrationInfo IrcRegistrationInfo
Результат void

Disconnect() публичный Метод

public Disconnect ( string server ) : void
server string
Результат void

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

GetClientFromServerNameMask() защищенный Метод

protected GetClientFromServerNameMask ( string serverNameMask ) : IrcClient
serverNameMask string
Результат IrcClient

GetDefaultReplyTarget() защищенный Метод

protected GetDefaultReplyTarget ( IrcClient client, IIrcMessageSource source, IList targets ) : IList
client IrcClient
source IIrcMessageSource
targets IList
Результат IList

InitializeChatCommandProcessors() защищенный абстрактный Метод

protected abstract InitializeChatCommandProcessors ( ) : void
Результат void

InitializeCommandProcessors() защищенный абстрактный Метод

protected abstract InitializeCommandProcessors ( ) : void
Результат void

IrcBot() публичный Метод

public IrcBot ( ) : System
Результат System

OnChannelMessageReceived() защищенный Метод

protected OnChannelMessageReceived ( IrcChannel channel, IrcMessageEventArgs e ) : void
channel IrcChannel
e IrcMessageEventArgs
Результат void

OnChannelNoticeReceived() защищенный Метод

protected OnChannelNoticeReceived ( IrcChannel channel, IrcMessageEventArgs e ) : void
channel IrcChannel
e IrcMessageEventArgs
Результат void

OnChannelUserJoined() защищенный Метод

protected OnChannelUserJoined ( IrcChannel channel, IrcChannelUserEventArgs e ) : void
channel IrcChannel
e IrcChannelUserEventArgs
Результат void

OnChannelUserLeft() защищенный Метод

protected OnChannelUserLeft ( IrcChannel channel, IrcChannelUserEventArgs e ) : void
channel IrcChannel
e IrcChannelUserEventArgs
Результат void

OnClientConnect() защищенный Метод

protected OnClientConnect ( IrcClient client ) : void
client IrcClient
Результат void

OnClientDisconnect() защищенный Метод

protected OnClientDisconnect ( IrcClient client ) : void
client IrcClient
Результат void

OnClientRegistered() защищенный Метод

protected OnClientRegistered ( IrcClient client ) : void
client IrcClient
Результат void

OnLocalUserJoinedChannel() защищенный Метод

protected OnLocalUserJoinedChannel ( IrcLocalUser localUser, IrcChannelEventArgs e ) : void
localUser IrcLocalUser
e IrcChannelEventArgs
Результат void

OnLocalUserLeftChannel() защищенный Метод

protected OnLocalUserLeftChannel ( IrcLocalUser localUser, IrcChannelEventArgs e ) : void
localUser IrcLocalUser
e IrcChannelEventArgs
Результат void

OnLocalUserMessageReceived() защищенный Метод

protected OnLocalUserMessageReceived ( IrcLocalUser localUser, IrcMessageEventArgs e ) : void
localUser IrcLocalUser
e IrcMessageEventArgs
Результат void

OnLocalUserNoticeReceived() защищенный Метод

protected OnLocalUserNoticeReceived ( IrcLocalUser localUser, IrcMessageEventArgs e ) : void
localUser IrcLocalUser
e IrcMessageEventArgs
Результат void

Run() публичный Метод

public Run ( ) : void
Результат void

Stop() публичный Метод

public Stop ( ) : void
Результат void