|
|
|
|
|
|
|
acceptConnection(self)
Return False to stop the server from sending a welcome to the client |
source code
|
|
|
acceptNameChange(self,
oldName,
newName)
Return False to decline the client to change it's name (after setting
the inital name) |
source code
|
|
|
acceptChannelJoin(self,
channelName)
Return False to stop the client from joining the specified channel |
source code
|
|
|
acceptChannelMessage(self,
channel,
message,
subchannel)
Return False to stop the channel message from being sent to the other
channel members |
source code
|
|
|
acceptPrivateMessage(self,
channel,
connection,
message,
subchannel)
Return False to stop the private message from reaching the recipient |
source code
|
|
|
acceptChannelLeave(self,
channel)
Return False to stop the client from leaving the specified channel |
source code
|
|
|
connectionAccepted(self)
Called when the connection has been accepted, and the client
notified. |
source code
|
|
|
nameSet(self,
name)
Called after the name has been set |
source code
|
|
|
nameChanged(self,
oldName,
newName)
Called when the client has changed name |
source code
|
|
|
|
|
channelJoined(self,
channel)
Called when the client has been let into a channel |
source code
|
|
|
|
|
|
|
channelLeft(self,
channel)
Called when the client has left a channel |
source code
|
|
|
|
|
|
|
sendMessage(value,
subchannel,
type=None)
Sends a message to the other end |
source code
|
|
|
sendChannelMessage(self,
channel,
*arg,
**kw) |
source code
|
|
|
|
|
|
Inherited from protocol.MooProtocol :
__init__ ,
dataReceived ,
sendLoader
Inherited from twisted.internet.protocol.Protocol :
__provides__
Inherited from twisted.internet.protocol.BaseProtocol :
__providedBy__ ,
makeConnection
|