webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Public Member Functions | |
def | __init__ (self, irclibobj, dcctype) |
def | connect (self, address, port) |
def | listen (self) |
def | disconnect (self, message="") |
def | process_data (self) |
def | privmsg (self, string) |
![]() | |
def | __init__ (self, irclibobj) |
def | execute_at (self, at, function, arguments=()) |
Convenience wrappers. More... | |
def | execute_delayed (self, delay, function, arguments=()) |
Public Attributes | |
connected | |
passive | |
dcctype | |
peeraddress | |
peerport | |
socket | |
previous_buffer | |
handlers | |
localport | |
![]() | |
irclibobj | |
This class represents a DCC connection. DCCConnection objects are instantiated by calling the dcc method on an IRC object.
def webkitpy.thirdparty.irc.irclib.DCCConnection.__init__ | ( | self, | |
irclibobj, | |||
dcctype | |||
) |
def webkitpy.thirdparty.irc.irclib.DCCConnection.connect | ( | self, | |
address, | |||
port | |||
) |
Connect/reconnect to a DCC peer. Arguments: address -- Host/IP address of the peer. port -- The port number to connect to. Returns the DCCConnection object.
def webkitpy.thirdparty.irc.irclib.DCCConnection.disconnect | ( | self, | |
message = "" |
|||
) |
Hang up the connection and close the object. Arguments: message -- Quit message.
def webkitpy.thirdparty.irc.irclib.DCCConnection.listen | ( | self | ) |
Wait for a connection/reconnection from a DCC peer. Returns the DCCConnection object. The local IP address and port are available as self.localaddress and self.localport. After connection from a peer, the peer address and port are available as self.peeraddress and self.peerport.
def webkitpy.thirdparty.irc.irclib.DCCConnection.privmsg | ( | self, | |
string | |||
) |
Send data to DCC peer. The string will be padded with appropriate LF if it's a DCC CHAT session.
def webkitpy.thirdparty.irc.irclib.DCCConnection.process_data | ( | self | ) |
[Internal]
webkitpy.thirdparty.irc.irclib.DCCConnection.connected |
webkitpy.thirdparty.irc.irclib.DCCConnection.dcctype |
webkitpy.thirdparty.irc.irclib.DCCConnection.handlers |
webkitpy.thirdparty.irc.irclib.DCCConnection.localport |
webkitpy.thirdparty.irc.irclib.DCCConnection.passive |
webkitpy.thirdparty.irc.irclib.DCCConnection.peeraddress |
webkitpy.thirdparty.irc.irclib.DCCConnection.peerport |
webkitpy.thirdparty.irc.irclib.DCCConnection.previous_buffer |
webkitpy.thirdparty.irc.irclib.DCCConnection.socket |