Méthode | Description | |
---|---|---|
Connect ( ) : void |
Connects to the irc server addressed by ServerAddress.
|
|
Dispose ( ) : void |
Disposes the object.
|
|
IrcClient ( ) : System |
Initializes a new instance of the IrcClient class without any address to connect to.
|
|
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. The chanName should follow the given Standard of the IrcClient. The IrcClient will wait for the acknowledge of the server. |
|
Quit ( ) : void |
Quits the IRC Connection without a Message.
|
|
Quit ( string quitMsg ) : void |
Quits the IRC connection with a Message.
|
|
ReadLine ( ) : |
Reads a new line from the server. This method blocks the calling thread until a new line was received from server. Only use this method, if you want to bypass the automatically raised events and kine handling. If you want to have this features use IrcClient.ReceiveLine instead. |
|
ReceiveLine ( ) : void |
Reads the next line, raise all events and handle it if needed. This method does the same as IrcClient.ReadLine does but additionally raise all events of the line. If the line is a PING line, it is handled and automatically answered by an according PONG. |
|
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. |
|
SendMessage ( string message, string receiver ) : void |
Sends a message to a channel or nick (in a query).
|
|
SendNotice ( string message, string receiver ) : void |
Sends a message to a channel, nick (directly).
|
Méthode | Description | |
---|---|---|
OnError ( string msg ) : void |
Fires the Error event.
|
|
OnError ( string msg, |
Fires the Error event.
|
|
OnLineReceived ( |
Fires the LineReceived event.
|
|
OnOnConnect ( ) : bool |
Fires the OnConnect event.
|
|
OnOnLogin ( ) : void |
Fires the OnLogin event.
|
Méthode | Description | |
---|---|---|
HandleLine ( |
Handles a line received from server.
|
public Join ( string chanName ) : void | ||
chanName | string | The channel name the client should join. |
Résultat | void |
protected OnError ( string msg ) : void | ||
msg | string | The message for the error. |
Résultat | void |
protected OnError ( string msg, |
||
msg | string | The message for the error. |
ex | The exception that occured. | |
Résultat | void |
protected OnLineReceived ( |
||
line | The line that was received. | |
Résultat | void |
public Part ( string chanName ) : void | ||
chanName | string | The channel name the client should join. |
Résultat | void |
public Quit ( string quitMsg ) : void | ||
quitMsg | string | The message to use when quitting. |
Résultat | void |
public SendLine ( string line ) : void | ||
line | string | The raw line to send. |
Résultat | void |
public SendMessage ( string message, string receiver ) : void | ||
message | string | The message to send. |
receiver | string | The receiver (a channel or a nick). |
Résultat | void |
public SendNotice ( string message, string receiver ) : void | ||
message | string | The message to send. |
receiver | string | The receiver (a channel or a nick). |
Résultat | void |