C# Class Squishy.Irc.Protocol.IrcProtocolHandler

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

Protected Properties

Свойство Type Description
encoding System.Text.Encoding

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
IrcProtocolHandler ( Encoding encoding ) : System
IrcProtocolHandler ( IrcClient irc, Encoding encoding ) : System
ParseModes ( IrcUser user, IrcChannel chan, string flags, string args ) : void

Method Details

ApplyTo() public méthode

public ApplyTo ( IrcClient irc ) : void
irc IrcClient
Résultat void

CreatePacket() public méthode

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
Résultat IrcPacket

ExtractPackets() public méthode

public ExtractPackets ( ByteBuffer partialResponse ) : Squishy.Irc.Protocol.IrcPacket[]
partialResponse ByteBuffer
Résultat Squishy.Irc.Protocol.IrcPacket[]

HandleBytes() public méthode

public HandleBytes ( Connection con, ByteBuffer buf ) : void
con Squishy.Network.Connection
buf ByteBuffer
Résultat void

Property Details

encoding protected_oe property

protected Encoding,System.Text encoding
Résultat System.Text.Encoding