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

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

보호된 프로퍼티들

프로퍼티 타입 설명
encoding System.Text.Encoding

공개 메소드들

메소드 설명
ApplyTo ( IrcClient irc ) : void
CreatePacket ( string content ) : IrcPacket

Build a packet from a new line of content from the server. Do as much parsing as possible here before the packet-handler will then work with the gathered information.

ExtractPackets ( ByteBuffer partialResponse ) : Squishy.Irc.Protocol.IrcPacket[]
HandleBytes ( Connection con, ByteBuffer buf ) : void

비공개 메소드들

메소드 설명
IrcProtocolHandler ( Encoding encoding ) : System
IrcProtocolHandler ( IrcClient irc, Encoding encoding ) : System
ParseModes ( IrcUser user, IrcChannel chan, string flags, string args ) : void

메소드 상세

ApplyTo() 공개 메소드

public ApplyTo ( IrcClient irc ) : void
irc IrcClient
리턴 void

CreatePacket() 공개 메소드

Build a packet from a new line of content from the server. Do as much parsing as possible here before the packet-handler will then work with the gathered information.
public CreatePacket ( string content ) : IrcPacket
content string
리턴 IrcPacket

ExtractPackets() 공개 메소드

public ExtractPackets ( ByteBuffer partialResponse ) : Squishy.Irc.Protocol.IrcPacket[]
partialResponse ByteBuffer
리턴 Squishy.Irc.Protocol.IrcPacket[]

HandleBytes() 공개 메소드

public HandleBytes ( Connection con, ByteBuffer buf ) : void
con Squishy.Network.Connection
buf ByteBuffer
리턴 void

프로퍼티 상세

encoding 보호되어 있는 프로퍼티

protected Encoding,System.Text encoding
리턴 System.Text.Encoding