C# 클래스 Squishy.Irc.Protocol.IrcProtocol

파일 보기 프로젝트 열기: jaddie/WCell-Utility-Bot 1 사용 예제들

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
IrcProtocol ( ) : System

Create a singleton instance.

비공개 메소드들

메소드 설명
SetupHandlers ( ) : void

메소드 상세

AddPacketHandler() 공개 메소드

Adds a new packet handler for a certain action.
public AddPacketHandler ( string key, PacketHandler handler ) : void
key string
handler PacketHandler
리턴 void

GetOrCreateHandlers() 공개 메소드

public GetOrCreateHandlers ( string key ) : IList
key string
리턴 IList

IrcProtocol() 보호된 메소드

Create a singleton instance.
protected IrcProtocol ( ) : System
리턴 System

RemovePacketHandler() 공개 메소드

Removes the packet handler for a certain action.
public RemovePacketHandler ( string key, PacketHandler handler ) : bool
key string
handler PacketHandler
리턴 bool

this() 공개 메소드

public this ( string key ) : IList
key string
리턴 IList