C# Class Helpmebot.IRC.IrcClient

The IRC client.
Inheritance: IIrcClient, IDisposable
Show file Open project: helpmebot/helpmebot Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

The dispose.

Inject ( string message ) : void

Don't use this. Injects a raw string into the network stream. Everything should use Send(IMessage) instead.

IrcClient ( INetworkClient client, ILogger logger, IIrcConfiguration ircConfiguration, string password ) : System

Initialises a new instance of the IrcClient class.

JoinChannel ( string channel ) : void

The join.

PartChannel ( string channel, string message ) : void

The part channel.

Send ( IMessage message ) : void

The send.

SendMessage ( string destination, string message ) : void

The send message.

SendNotice ( string destination, string message ) : void

The send notice.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

The dispose.

Private Methods

Method Description
HandleWhoXReply ( IMessage message ) : void

The handle who x reply.

NetworkClientOnDataReceived ( object sender, Helpmebot.IRC.Events.DataReceivedEventArgs dataReceivedEventArgs ) : void

The network client on data received.

OnAccountMessageReceived ( Helpmebot.IRC.Events.MessageReceivedEventArgs e, IUser user ) : void

The on account message received.

OnChannelModeReceived ( List parameters ) : void

The on channel mode received.

OnJoinReceived ( Helpmebot.IRC.Events.MessageReceivedEventArgs e, IUser user ) : void

The on join received.

OnKickMessageReceived ( Helpmebot.IRC.Events.MessageReceivedEventArgs e ) : void

The on kick message received.

OnMessageReceivedEvent ( object sender, Helpmebot.IRC.Events.MessageReceivedEventArgs e ) : void

The on message received event.

OnNameReplyReceived ( Helpmebot.IRC.Events.MessageReceivedEventArgs e ) : void

The on name reply received.

OnNickChangeReceived ( Helpmebot.IRC.Events.MessageReceivedEventArgs e, IUser user ) : void

The on nick change received.

OnPartMessageReceived ( Helpmebot.IRC.Events.MessageReceivedEventArgs e, IUser user ) : void

The on part message received.

OnQuitMessageReceived ( IUser user ) : void

The on quit message received.

RaiseDataEvent ( IMessage message ) : void

The raise data event.

RegisterConnection ( IMessage message ) : void

The register connection.

SaslAuth ( IMessage message ) : void

The SASL authentication.

Send1459Registration ( ) : void

The send 1459 registration.

Method Details

Dispose() public method

The dispose.
public Dispose ( ) : void
return void

Dispose() protected method

The dispose.
protected Dispose ( bool disposing ) : void
disposing bool /// The disposing. ///
return void

Inject() public method

Don't use this. Injects a raw string into the network stream. Everything should use Send(IMessage) instead.
public Inject ( string message ) : void
message string /// The raw data to inject into the network stream ///
return void

IrcClient() public method

Initialises a new instance of the IrcClient class.
public IrcClient ( INetworkClient client, ILogger logger, IIrcConfiguration ircConfiguration, string password ) : System
client INetworkClient /// The client. ///
logger ILogger /// The logger. ///
ircConfiguration IIrcConfiguration /// The configuration Helper. ///
password string /// The password. ///
return System

JoinChannel() public method

The join.
public JoinChannel ( string channel ) : void
channel string /// The channel. ///
return void

PartChannel() public method

The part channel.
public PartChannel ( string channel, string message ) : void
channel string /// The channel. ///
message string /// The message. ///
return void

Send() public method

The send.
public Send ( IMessage message ) : void
message IMessage /// The message. ///
return void

SendMessage() public method

The send message.
public SendMessage ( string destination, string message ) : void
destination string /// The destination. ///
message string /// The message. ///
return void

SendNotice() public method

The send notice.
public SendNotice ( string destination, string message ) : void
destination string /// The destination. ///
message string /// The message. ///
return void