Creates a new IRC Component instance that implements the IRC Protocol.
Incoming messages are handled by the "read" Event Handler,
parsed and processed with appropriate Events created and exposed to the
rest of te system to listen to and handle.
|
__init__(self,
*args,
**kwargs)
initializes x; see x.__class__.__doc__ for signature |
|
|
str
|
getNick(I)
Return the current nickname if set, return None otherwise. |
|
|
str
|
getIdent(I)
Return the current ident if set, return None otherwise. |
|
|
str
|
getHost(I)
Return the current host if set, return None otherwise. |
|
|
str
|
getServer(I)
Return the current server if set, return None otherwise. |
|
|
str
|
getServerVersion(I)
Return the current server version if set, return None otherwise. |
|
|
str
|
getNetwork(I)
Return the current network if set, return None otherwise. |
|
|
str
|
getName(I)
Return the current name if set, return None otherwise. |
|
|
|
|
|
|
|
SERVER(self,
server,
hops,
token,
description) |
|
|
|
USER(self,
ident,
host,
server,
name) |
|
|
|
NICK(self,
nick,
idle=None,
signon=None,
ident=None,
host=None,
server=None,
hops=None,
name=None) |
|
|
|
|
|
|
|
QUIT(self,
message='
' ,
source=None) |
|
|
|
JOIN(self,
channel,
key=None,
source=None) |
|
|
|
PART(self,
channel,
message='
' ,
source=None) |
|
|
|
PRIVMSG(self,
target,
message,
source=None) |
|
|
|
NOTICE(self,
target,
message,
source=None) |
|
|
|
CTCP(self,
target,
type,
message,
source=None) |
|
|
|
CTCPREPLY(self,
target,
type,
message,
source=None) |
|
|
|
KICK(self,
channel,
target,
message='
' ,
source=None) |
|
|
|
TOPIC(self,
channel,
topic,
whoset=None,
whenset=None,
source=None) |
|
|
|
MODE(self,
modes,
channel=None,
source=None) |
|
|
|
KILL(self,
target,
message) |
|
|
|
INVITE(self,
target,
channel,
source=None) |
|
|
|
NAMES(self,
channel=None) |
|
|
|
read(self,
data)
Read Event Handler |
|
|
None
|
raw(I,
line)
Process a line of text and generate the appropiate event. |
|
|
|
ping(self,
server)
Ping Event |
|
|
Inherited from core.BaseComponent :
__repr__ ,
register ,
unregister
Inherited from core.Manager :
__add__ ,
__iadd__ ,
__isub__ ,
__len__ ,
__sub__ ,
flush ,
join ,
push ,
run ,
send ,
start ,
stop
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|