#include <kitprotocol.h>
Inheritance diagram for GNUMessenger::KitProtocol:


Public Member Functions | |
| KitProtocol (const XMLNode &, ProtocolManager *manager) | |
| const string | screenName () |
| virtual void | update () |
| In a non-event based system this call will check the network for incoming data and will call appropriate handlers. | |
| virtual void | login () |
| Initiates the login sequence for this protocol. | |
| virtual void | logout () |
| Sends the protocol the log-out request and disconnects the socket (Network). | |
| virtual bool | sendMessage (const Contact &recipient, const string &message) |
| Tries to send a message to a Contact via this protocol. | |
| virtual void | addBuddy (const Contact &c) |
| virtual void | delBuddy (const Contact &c) |
| virtual void | newUser () |
| virtual void | getPubkey () |
| virtual void | customRequest (XMLNode n) |
| virtual void | handleData (Network *net) |
| virtual void | handleData (Network *net, const string &buf) |
| virtual void | connectionError (Network *net, int error) |
| virtual void | connectedToServer (Network *net) |
| virtual void | reset () |
| Resets the protocol by disconnecting and reconnecting to the network. | |
The configuration XML looks like this:
<kit> <server host="a.kitserver.com" port="4444" /> <user username="username" password="secret.password" /> </kit>
Definition at line 50 of file kitprotocol.h.
|
|
Initiates the login sequence for this protocol.
Implements GNUMessenger::Protocol.
|
|
|
Resets the protocol by disconnecting and reconnecting to the network. All configuration settings are re-read. Implements GNUMessenger::Protocol. Definition at line 75 of file kitprotocol.h.
|
|
||||||||||||
|
Tries to send a message to a Contact via this protocol.
Implements GNUMessenger::Protocol.
|
|
|
In a non-event based system this call will check the network for incoming data and will call appropriate handlers.
Reimplemented from GNUMessenger::Protocol.
|
1.3.8