Package twisted :: Package protocols :: Module oscar :: Class ChatService
[frames | no frames]

Class ChatService

BaseProtocol --+                
               |                
        Protocol --+            
                   |            
     OscarConnection --+        
                       |        
               SNACBased --+    
                           |    
                OSCARService --+
                               |
                              ChatService


Method Summary
  __init__(self, bos, cookie, d)
  clientReady(self)
called when the client is ready to be online
  leaveChat(self)
  oscar_01_07(self, snac)
  oscar_0E_02(self, snac)
  oscar_0E_03(self, snac)
  oscar_0E_04(self, snac)
  oscar_0E_06(self, snac)
  sendMessage(self, message)
    Inherited from OSCARService
  connectionLost(self, reason)
    Inherited from SNACBased
  _ebDeferredError(self, error, fam, sub, data)
  oscar_(self, data)
  oscar_01_03(self, snac)
  oscar_01_0A(self, snac)
change of rate information.
  oscar_01_18(self, snac)
host versions, in the same format as we sent
  oscar_Data(self, data)
  oscar_unknown(self, snac)
  sendSNAC(self, fam, sub, data, flags)
send a snac and wait for the response by returning a Deferred.
  sendSNACnr(self, fam, sub, data, flags)
send a snac, but don't bother adding a deferred, we don't care.
    Inherited from OscarConnection
  connectionMade(self)
Called when a connection is made.
  dataReceived(self, data)
Called whenever data is received.
  disconnect(self)
send the disconnect flap, and sever the connection
  readFlap(self)
  sendFLAP(self, data, channel)
  sendKeepAlive(self)
  setKeepAlive(self, t)
  stopKeepAlive(self)
    Inherited from Protocol
  connectionFailed(self)
(Deprecated)
    Inherited from BaseProtocol
  makeConnection(self, transport)
Make a connection to a transport and a server.

Class Variable Summary
dict snacFamilies = {1: (3, 16, 1435), 14: (1, 16, 1435)}
    Inherited from Protocol
tuple __implements__ = (<class twisted.internet.interfaces.IPr...
    Inherited from BaseProtocol
int connected = 0                                                                     
NoneType transport = None                                                                  

Method Details

clientReady(self)

called when the client is ready to be online

Class Variable Details

snacFamilies

Type:
dict
Value:
{1: (3, 16, 1435), 14: (1, 16, 1435)}                                  

Generated by Epydoc 2.0 on Sat May 15 20:08:20 2004 http://epydoc.sf.net