SmartIrc4net API documentation

IrcConnection Members

IrcConnection overview

Public Instance Constructors

IrcConnection Constructor Initializes the message queues, read and write thread

Public Instance Properties

Address Gets the current address of the connection
AddressList Gets the address list of the connection
AutoReconnect By default nothing is done when the library looses the connection to the server. Default: false
AutoRetry If the library should retry to connect when the connection fails. Default: false
AutoRetryDelay Delay between retry attempts in Connect() in seconds. Default: 30
Encoding Encoding which is used for reading and writing to the socket Default: ISO-8859-1
IsConnected On successful connect to the IRC server, this is set to true.
IsRegistered On successful registration on the IRC network, this is set to true.
Port Gets the used port of the connection
SendDelay To prevent flooding the IRC server, it's required to delay each message, given in milliseconds. Default: 200
SocketReceiveTimeout Timeout in seconds for receiving data from the socket Default: 600
SocketSendTimeout Timeout in seconds for sending data to the socket Default: 600
VersionNumber Gets the SmartIrc4net version number
VersionString Gets the full SmartIrc4net version string

Public Instance Methods

Connect Overloaded. this method has 2 overloads
Disconnect Disconnects from the server
Equals (inherited from Object)  
GetHashCode (inherited from Object)  
GetType (inherited from Object)  
Listen Overloaded.  
ListenOnce Overloaded.  
ReadLine  
Reconnect Reconnects to the server
ToString (inherited from Object)  
WriteLine Overloaded.  

Public Instance Events

OnConnected  
OnConnecting  
OnConnectionError  
OnDisconnected  
OnDisconnecting  
OnReadLine  
OnWriteLine  

Protected Instance Properties

IsConnectionError When a connection error is detected this property will return true

Protected Instance Methods

Finalize (inherited from Object)  
MemberwiseClone (inherited from Object)  

See Also

IrcConnection Class | Meebey.SmartIrc4net Namespace