C# Class Squishy.Irc.Protocol.IrcProtocol

Afficher le fichier Open project: jaddie/WCell-Utility-Bot Class Usage Examples

Méthodes publiques

Méthode Description
AddPacketHandler ( string key, PacketHandler handler ) : void

Adds a new packet handler for a certain action.

GetOrCreateHandlers ( string key ) : IList
RemovePacketHandler ( string key, PacketHandler handler ) : bool

Removes the packet handler for a certain action.

this ( string key ) : IList

Méthodes protégées

Méthode Description
IrcProtocol ( ) : System

Create a singleton instance.

Private Methods

Méthode Description
SetupHandlers ( ) : void

Method Details

AddPacketHandler() public méthode

Adds a new packet handler for a certain action.
public AddPacketHandler ( string key, PacketHandler handler ) : void
key string
handler PacketHandler
Résultat void

GetOrCreateHandlers() public méthode

public GetOrCreateHandlers ( string key ) : IList
key string
Résultat IList

IrcProtocol() protected méthode

Create a singleton instance.
protected IrcProtocol ( ) : System
Résultat System

RemovePacketHandler() public méthode

Removes the packet handler for a certain action.
public RemovePacketHandler ( string key, PacketHandler handler ) : bool
key string
handler PacketHandler
Résultat bool

this() public méthode

public this ( string key ) : IList
key string
Résultat IList