Connection | Overloaded. Initializes a new instance of the Connection class. |
Connected | A read-only property indicating whether a connection has been opened with the IRC server (but not whether registration has succeeded). |
ConnectionData | The collection of data used to establish this connection. |
CtcpListener | The object that parses CTCP messages and notifies the appropriate delegate. |
CtcpResponder | Sets an automatic responder to Ctcp queries. |
CtcpSender | The object used to send CTCP commands to the IRC server. |
EnableCtcp | Whether Ctcp commands should be processed and if Ctcp events will be raised. |
EnableDcc | Whether DCC requests should be processed or ignored by this Connection. Since the DccListener is a singleton and shared by all Connections, listeners to DccListener events should be manually removed when no longer needed. |
HandleNickTaken | By default the connection itself will handle the case where, while attempting to register the client's nick is already in use. It does this by simply appending 2 random numbers to the end of the nick. |
IdleTime | The amount of time that has passed since the client sent a command to the IRC server. |
Listener | The object that parses messages and notifies the appropriate delegate. |
Name | A user friendly name of this Connection in the form 'nick@host' |
Registered | A read-only property indicating whether the connection has been opened with the IRC server and the client has been successfully registered. |
Sender | The object used to send commands to the IRC server. |
ServerProperties | A read-only collection of string key/value pairs representing IRC server proprties. |
TextEncoding | Sets the text encoding used by the read and write streams. Must be set before Connect() is called and should not be changed while the connection is processing messages. |
AddParser |
Adds a parser class to a list of custom parsers.
Any number can be added. The custom parsers
will be tested using CanParse() before
the default parsers. The last parser to be added
will be the first to process a message.
|
Connect | Connect to the IRC server and start listening for messages on a new thread. |
Disconnect | Sends a 'Quit' message to the server, closes the connection, and stops the listening thread. |
Equals (inherited from Object) | |
GetHashCode (inherited from Object) | |
GetType (inherited from Object) | |
RemoveParser | Remove a custom parser class. |
ToString | A friendly name for this connection. |
OnRawMessageReceived | Receive all the messages, unparsed, sent by the IRC server. This is not normally needed but provided for those who are interested. |
OnRawMessageSent | Receive all the raw messages sent to the IRC from this connection |
Connection Class | Sharkbite.Irc Namespace