Method | Description | |
---|---|---|
ChangeNickname ( String newNick ) : void |
Sends a request to the server, to change the current nickname used by this connection. This method creates a NICK irc command and send it to the server. The property CurrentNick will be updated after the client received the acknowledge from server. Be sure that newNick is conform with the Standard used by this connection. Else the nickname will not be changed. |
|
Connect ( ) : void |
Connects to the irc server addressed by ServerAddress.
|
|
Dispose ( ) : void | ||
IrcClient ( ) : System |
Creates a new instance of an IrcClient.
|
|
Join ( String chanName ) : void |
Joins a given channel on the irc server. The given chanName should follow the given Standard of the IrcClient. The IrcClient will wait for the acknowledge of the server. |
|
Part ( String chanName ) : void |
Parts a given channel on the irc server. chanName should follow the given Standard of the IrcClient. The IrcClient will wait for the acknowledge of the server. |
|
Quit ( ) : void |
Close the IRC Connection without a Message.
|
|
Quit ( String QuitMsg ) : void |
Close the IRC Connection with a Message.
|
|
SendLine ( String line ) : void |
Sends a raw irc line to the irc server. You can send anything you want. The text is send as is. There is no checking or something. |
|
SendNotice ( String message, String receiver ) : void |
Sends a message to a channel, nick (directly).
|
|
SendPrivmsg ( String message, String receiver ) : void |
Sends a message to a channel, nick (in a querry).
|
Method | Description | |
---|---|---|
HandleLine ( LineReceivedEventArgs e ) : void |
Handles a line received from server.
|
|
OnError ( ErrorEventArgs args ) : void | ||
ReadLines ( ) : void |
Reads lines from server and parses them to an IrcLine.
|
public ChangeNickname ( String newNick ) : void | ||
newNick | String | The new nickname, what should be used. |
return | void |
public Join ( String chanName ) : void | ||
chanName | String | the channel name the client should join |
return | void |
public Part ( String chanName ) : void | ||
chanName | String | the channel name the client should join |
return | void |
public SendLine ( String line ) : void | ||
line | String | the raw line to send |
return | void |
public SendNotice ( String message, String receiver ) : void | ||
message | String | the message to send |
receiver | String | the receiver (a channel or a nick) |
return | void |
public SendPrivmsg ( String message, String receiver ) : void | ||
message | String | the message to send |
receiver | String | the receiver (a channel or a nick) |
return | void |