GNUMessenger::MsnProtocol Class Reference
[Protocols]

#include <msnprotocol.h>

Inheritance diagram for GNUMessenger::MsnProtocol:

Inheritance graph
[legend]
Collaboration diagram for GNUMessenger::MsnProtocol:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MsnProtocol (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 handleData (Network *net)
virtual void handleData (Network *net, const string &data)
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.

Detailed Description

The msn protocol (not functional)

The configuration XML looks like this:

    ...
 

Definition at line 45 of file msnprotocol.h.


Member Function Documentation

virtual void GNUMessenger::MsnProtocol::login  )  [virtual]
 

Initiates the login sequence for this protocol.

Note:
This call in no way guarentees that the login attempt was successful. That information will be relayed by an error callback.

Implements GNUMessenger::Protocol.

virtual void GNUMessenger::MsnProtocol::reset  )  [inline, virtual]
 

Resets the protocol by disconnecting and reconnecting to the network.

All configuration settings are re-read.

Implements GNUMessenger::Protocol.

Definition at line 69 of file msnprotocol.h.

00069 {}

virtual bool GNUMessenger::MsnProtocol::sendMessage const Contact recipient,
const string &  message
[virtual]
 

Tries to send a message to a Contact via this protocol.

Parameters:
recipient The intended recipient.
message The text message to send.
Note:
This call does not mean the contact has recieved the message, that is network dependent and my fail. If a fail should occur, an appropriate error callback will be called.
Returns:
False if the Contact is not subscribed to this protocol or if the protocol is offline.

Implements GNUMessenger::Protocol.

virtual void GNUMessenger::MsnProtocol::update  )  [virtual]
 

In a non-event based system this call will check the network for incoming data and will call appropriate handlers.

Reimplemented from GNUMessenger::Protocol.


The documentation for this class was generated from the following file:
Generated on Tue Oct 5 14:41:56 2004 for GNU Messenger by doxygen 1.3.8