C# Class apophis.SharpIRC.IrcClient.IrcMessageData

Exibir arquivo Open project: FreeApophis/sharpIRC Class Usage Examples

Public Methods

Method Description
IrcMessageData ( IrcClient ircClient, string rawMessage ) : System

Constructor to create an instace of IrcMessageData

IrcMessageData ( IrcClient ircclient, string from, string nick, string ident, string host, string channel, string message, string rawmessage, ReceiveType type, ReplyCode replycode ) : System

Constructor to create an instace of IrcMessageData

ToString ( ) : string

Private Methods

Method Description
ParseLegacyInfo ( ) : void

Method Details

IrcMessageData() public method

Constructor to create an instace of IrcMessageData
public IrcMessageData ( IrcClient ircClient, string rawMessage ) : System
ircClient IrcClient IrcClient the message originated from
rawMessage string message as it appears on wire, stripped of newline
return System

IrcMessageData() public method

Constructor to create an instace of IrcMessageData
public IrcMessageData ( IrcClient ircclient, string from, string nick, string ident, string host, string channel, string message, string rawmessage, ReceiveType type, ReplyCode replycode ) : System
ircclient IrcClient IrcClient the message originated from
from string combined nickname, identity and host of the user that sent the message (nick!ident@host)
nick string nickname of the user that sent the message
ident string identity (username) of the userthat sent the message
host string hostname of the user that sent the message
channel string channel the message originated from
message string message
rawmessage string raw message sent by the server
type ReceiveType message type
replycode ReplyCode message reply code
return System

ToString() public method

public ToString ( ) : string
return string