프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Info | string | ||
Network | |||
Privileges | Privilege[] | ||
ServerPassword | string | ||
WhiteSpace |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
m_CommandHandler | |||
m_MaxNickLen | int | ||
protHandler |
메소드 | 설명 | |
---|---|---|
BeginConnect ( string addr ) : void | ||
BeginConnect ( string addr, int port ) : void |
Saves the sufficient information and lets the Client instance start to connect to a Server. It will not connect if it is already connected or currently connecting. (Use Disconnect first in that case) When the Client connected successfully it dumps its ThrottledSendQueue.
|
|
GetChannel ( string name ) : |
||
GetOrCreateChannel ( string name ) : |
Gets the channel with the current name or creates a new Channel object, if it doesn't exist yet
|
|
GetOrCreateUser ( string mask ) : |
||
GetPrivForFlag ( char flag ) : Privilege | ||
GetSymbolForFlag ( char flag ) : char |
Returns the symbol for the specified flag ("@" would usually be the symbol for "o" e.g.).
|
|
GetUser ( string nick ) : |
||
GetUsers ( string mask ) : Squishy.Irc.IrcUser[] |
Loops through all Users to find those who match the given mask.
|
|
HasChanMode ( string modes ) : bool |
Indicates wether or not the current Irc Network offers the specified Channel modes - Independent on the sequence.
|
|
IrcClient ( ) : System | ||
IrcClient ( |
||
IsOn ( string channame ) : bool |
Indicates wether or not this IrcClient is on the Channel with the specified name.
|
|
MayTriggerCommand ( |
Return wether or not a command may be triggered. Is called everytime, a command is triggered.
|
|
MayTriggerCommand ( |
Return wether or not a command may be triggered. Is called everytime, a command is triggered.
|
|
Send ( string text ) : void |
Uses the Client.Send(string) to enqueue the corresponding text into the ThrottledSendQueue.
|
|
SendNow ( string text ) : void |
Uses the Client.SendNow(text) to send a line of text immediately to the server.
|
|
SupportsSymbols ( string symbols ) : bool |
Indicates wether or not the current Irc 4rk supports the specified Channel symbols (such as @,+ etc) - Independent on the sequence.
|
|
TriggersCommand ( |
메소드 | 설명 | |
---|---|---|
OnBanListComplete ( |
Fires when the BanList for a Channel has been sent completely.
|
|
OnBanListEntry ( |
Fires when an already established BanEntry has been sent (raw 367).
|
|
OnBeforeSend ( string text ) : void |
Fires when something is sent by the Client. (When Client.SendNow(string) is called.)
|
|
OnCannotJoin ( |
||
OnChanCreationTime ( |
Fires when the CreationTime of a Channel has been sent (raw 329)
|
|
OnChannelMsg ( |
Fires when the Client receives a PRIVMSG which was directed to a Channel.
|
|
OnCommandFail ( |
Fires when a Command raises an Exception while being executed.
|
|
OnConnectFail ( |
Fires when the Client raises the specified Exception during the Connect process.
|
|
OnConnected ( ) : void |
Fires when the Client instance of this IrcClient established a connection with a server.
|
|
OnConnecting ( ) : void |
Is called when the Client instance connects to a new server.
|
|
OnConnectionInfo ( |
Fires when network-specific Informations are sent (raw 005).
|
|
OnCtcpReply ( |
Fires when the Client receives any kind of CTCP reply.
|
|
OnCtcpRequest ( |
Fires when the Client receives any kind of CTCP request. Automatically replies to the VERSION request with the content of the Version variable if not overridden.
|
|
OnDisconnected ( bool conLost ) : void |
Fires when the Client disconnected.
|
|
OnError ( |
Fires when an Error reply has been sent by the network (raw is greater than 399).
|
|
OnExceptionRaised ( |
Fires when an exception is raised during the protocol handling.
|
|
OnFlagAdded ( |
Fires when a User adds a Channel flag to another User.
|
|
OnFlagDeleted ( |
Fires when a User deletes a Channel flag from another User.
|
|
OnInvalidNick ( string err, string nick, string args ) : void |
Fires when a chosen nick is already in use.
|
|
OnInvite ( |
Fires when the specified User sends an invitation for the specified Channel.
|
|
OnJoin ( |
Fires when the specified User joins the specified Channel.
|
|
OnKick ( |
Fires when a User is kicked from a Channel.
|
|
OnModeAdded ( |
Fires when a User adds a Channel mode.
|
|
OnModeDeleted ( |
Fures when a User deletes a Channel mode.
|
|
OnNick ( |
Fires when a User has changed the nick.
|
|
OnNotice ( |
Fires when the Client receives any kind of NOTICE.
|
|
OnPart ( |
Fires when a User parts from a Channel.
|
|
OnQueryMsg ( |
Fires when the Client receives a PRIVMSG, directed to this Client itself.
|
|
OnQuit ( |
Fires when a User quits.
|
|
OnText ( |
Fires when the Client receives any kind of PRIVMSG or NOTICE.
|
|
OnTopic ( |
Fires when the Topic for a Channel has been sent. Either when joining a Channel or when modified by a User.
|
|
OnUnknownCommandUsed ( |
Fires when the aliasing engine cannot find a command. Sends the command to the Server when not overridden.
|
|
OnUnspecifiedInfo ( |
Fires when an information is sent that is not captured by the intern protocol handler.
|
|
OnUserDisappeared ( |
Called whenever a User quits or parts all common Channels
|
|
OnUserEncountered ( |
||
OnUserLeftChannel ( |
Fires when a user is kicked from or parts from a channel or quits.
|
|
OnUserModeChanged ( ) : void |
Fires when own Usermodes have been changed.
|
|
OnUsersAdded ( |
Fires when the Client receives the Names list for the specified Channel.
|
|
OnWhoReply ( string channame, string username, string host, string server, string nick, string flags, string hops, string info ) : void |
Fires when the Client receives a Who-reply (raw 352).
|
|
Perform ( ) : void |
Fires when the Client is fully logged on the network and the End of Motd is sent (raw 376).
|
메소드 | 설명 | |
---|---|---|
AuthNotify ( |
||
BanListCompleteNotify ( |
||
BanListEntryNotify ( |
||
BeforeSendNotify ( string text ) : void | ||
CannotJoinNotify ( |
||
ChanCreationTimeNotify ( |
||
ChannelMsgNotify ( |
||
CheckUserKnown ( |
||
CommandFailNotify ( |
||
ConnectFailNotify ( |
||
ConnectNotify ( ) : void | ||
ConnectingNotify ( ) : void | ||
ConnectionInfoNotify ( |
||
CtcpReplyNotify ( |
||
CtcpRequestNotify ( |
||
DisconnectNotify ( bool conLost ) : void | ||
ErrorNotify ( |
||
ExceptionNotify ( |
||
FlagAddedNotify ( |
||
FlagDeletedNotify ( |
||
InvalidNickNotify ( string err, string nick, string args ) : void | ||
InviteNotify ( |
||
JoinNotify ( |
||
KickNotify ( |
||
ModeAddedNotify ( |
||
ModeDeletedNotify ( |
||
NickNotify ( |
||
NoticeNotify ( |
||
OnUserParsed ( |
||
PartNotify ( |
||
PerformNotify ( ) : void | ||
QueryMsgNotify ( |
||
QuitNotify ( |
||
Reset ( ) : void | ||
TextNotify ( |
||
TopicNotify ( |
||
UnkownCommandUsedNotify ( |
||
UnspecifiedInfoNotify ( |
||
UserLeftChannelNotify ( |
||
UserModeChangedNotify ( ) : void | ||
UsersAddedNotify ( |
||
WhoReplyNotify ( string channame, string username, string host, string server, string nick, string flags, string hops, string info ) : void |
public BeginConnect ( string addr, int port ) : void | ||
addr | string | The address where the Client should connect to |
port | int | The port on the Server where the Client should connect to |
리턴 | void |
public GetChannel ( string name ) : |
||
name | string | The case-insensitive Channel name. |
리턴 |
public GetOrCreateChannel ( string name ) : |
||
name | string | The case-insensitive Channel name. |
리턴 |
public GetUser ( string nick ) : |
||
nick | string | The case-insensitive User'str nick. |
리턴 |
public GetUsers ( string mask ) : Squishy.Irc.IrcUser[] | ||
mask | string | The mask of the users that are to be found. |
리턴 | Squishy.Irc.IrcUser[] |
public HasChanMode ( string modes ) : bool | ||
modes | string | A sequence of chars, representing Channel modes |
리턴 | bool |
public IrcClient ( |
||
encoding | ||
리턴 | System |
public MayTriggerCommand ( |
||
cmdTrigger | ||
리턴 | bool |
public MayTriggerCommand ( |
||
trigger | ||
cmd | A command. | |
리턴 | bool |
protected OnBanListComplete ( |
||
chan | ||
리턴 | void |
protected OnBanListEntry ( |
||
chan | ||
entry | ||
리턴 | void |
protected OnBeforeSend ( string text ) : void | ||
text | string | The line of text which is supposed to be sent. |
리턴 | void |
protected OnCannotJoin ( |
||
chan | ||
reason | string | |
리턴 | void |
protected OnChanCreationTime ( |
||
chan | ||
creationTime | System.DateTime | |
리턴 | void |
protected OnChannelMsg ( |
||
user | ||
chan | ||
text | Squishy.Network.StringStream | |
리턴 | void |
protected OnCommandFail ( |
||
trigger | ||
ex | ||
리턴 | void |
protected OnConnectionInfo ( |
||
packet | ||
pairs | string>.Dictionary | A Dictionary, containing all information, indexed case-insensitively. Value is "" if the information isnt a pair. |
리턴 | void |
protected OnCtcpReply ( |
||
user | The User who sent the text | |
chan | ||
reply | string | The reply type (such as VERSION) |
args | string | The text which was sent in addition to the reply |
리턴 | void |
protected OnCtcpRequest ( |
||
user | The User who sent the text | |
chan | The Channel where it was sent (can be null) | |
request | string | The request type (such as VERSION) |
args | string | The text which was sent in addition to the request |
리턴 | void |
protected OnError ( |
||
packet | ||
리턴 | void |
protected OnExceptionRaised ( |
||
e | The Exception thrown during the handling. | |
리턴 | void |
protected OnFlagAdded ( |
||
user | ||
chan | ||
priv | Privilege | |
target | ||
리턴 | void |
protected OnFlagDeleted ( |
||
user | ||
chan | ||
priv | Privilege | |
target | ||
리턴 | void |
protected OnInvalidNick ( string err, string nick, string args ) : void | ||
err | string | |
nick | string | |
args | string | |
리턴 | void |
protected OnInvite ( |
||
user | ||
chan | string | |
리턴 | void |
protected OnJoin ( |
||
user | ||
chan | ||
리턴 | void |
protected OnKick ( |
||
from | ||
chan | ||
target | ||
reason | string | |
리턴 | void |
protected OnModeAdded ( |
||
user | The User who has added the mode | |
chan | ||
mode | string | The mode which has been changed |
param | string | "" if the mode does not have any parameter |
리턴 | void |
protected OnModeDeleted ( |
||
user | The User who has added the mode | |
chan | ||
mode | string | The mode which has been changed |
param | string | "" if the mode does not have any parameter |
리턴 | void |
protected OnNick ( |
||
user | ||
oldNick | string | |
newNick | string | |
리턴 | void |
protected OnNotice ( |
||
user | The User who sent the text | |
chan | The Channel where it was sent (is null if its a private notice) | |
text | Squishy.Network.StringStream | The text which was sent |
리턴 | void |
protected OnPart ( |
||
user | ||
chan | ||
reason | string | |
리턴 | void |
protected OnQueryMsg ( |
||
user | ||
text | Squishy.Network.StringStream | |
리턴 | void |
protected OnQuit ( |
||
user | ||
reason | string | |
리턴 | void |
protected OnText ( |
||
user | The User who sent the text | |
chan | ||
text | Squishy.Network.StringStream | The text which was sent |
리턴 | void |
protected OnTopic ( |
||
user | ||
chan | ||
text | string | |
initial | bool | |
리턴 | void |
protected OnUnknownCommandUsed ( |
||
trigger | ||
리턴 | void |
protected OnUnspecifiedInfo ( |
||
packet | ||
리턴 | void |
protected OnUserDisappeared ( |
||
user | ||
리턴 | void |
protected OnUserEncountered ( |
||
user | ||
리턴 | void |
protected OnUserLeftChannel ( |
||
chan | ||
user | ||
reason | string | |
리턴 | void |
protected OnUsersAdded ( |
||
chan | ||
users | An Array of Users who are on the Channel | |
리턴 | void |
protected OnWhoReply ( string channame, string username, string host, string server, string nick, string flags, string hops, string info ) : void | ||
channame | string | The name of the channel which the Who-reply was for or the User did something on last |
username | string | The username of the User |
host | string | The hostmask of the User |
server | string | The server which the User is connected to |
nick | string | The nick of the User |
flags | string | The network flags of the User |
hops | string | The hops of the User |
info | string | Additional Info about the User |
리턴 | void |
public SupportsSymbols ( string symbols ) : bool | ||
symbols | string | A sequence of symbols, representing Channel flags (such as '@') |
리턴 | bool |
public TriggersCommand ( |
||
user | ||
chan | ||
input | Squishy.Network.StringStream | |
리턴 | bool |
public static Regex,System.Text.RegularExpressions WhiteSpace | ||
리턴 |
protected IrcCommandHandler,Squishy.Irc.Commands m_CommandHandler | ||
리턴 |