Logo Search packages:      
Sourcecode: jabber-jit version File versions  Download package

ICQ2000::SMSReceiptEvent Class Reference

#include <events.h>

Inheritance diagram for ICQ2000::SMSReceiptEvent:

ICQ2000::MessageEvent ICQ2000::Event

List of all members.


Detailed Description

An SMS (delivery) receipt

Definition at line 451 of file events.h.


Public Types

enum  DeliveryFailureReason {
  Failed, Failed_NotConnected, Failed_ClientNotCapable, Failed_Denied,
  Failed_Ignored, Failed_Occupied, Failed_DND, Failed_SMTP
}
enum  MessageType {
  Normal, URL, SMS, SMS_Receipt,
  AuthReq, AuthAck, AwayMessage, EmailEx,
  UserAdd, Email, WebPager
}

Public Member Functions

bool delivered () const
ContactRef getContact ()
DeliveryFailureReason getDeliveryFailureReason () const
std::string getDeliveryTime () const
std::string getDestination () const
std::string getMessage () const
std::string getMessageId () const
std::string getSubmissionTime () const
time_t getTime () const
MessageType getType () const
bool isDelivered () const
bool isDirect () const
bool isFinished () const
void setDelivered (bool f)
void setDeliveryFailureReason (DeliveryFailureReason d)
void setDirect (bool f)
void setFinished (bool f)
void setTime (time_t t)
 SMSReceiptEvent (ContactRef c, const std::string &msg, const std::string &message_id, const std::string &submission_time, const std::string &delivery_time, bool del)

Protected Attributes

ContactRef m_contact
 the contact related to the MessageEvent
bool m_direct
 whether the event was sent direct
DeliveryFailureReason m_failure_reason
bool m_finished
 whether the event is finished
time_t m_time

Private Attributes

bool m_delivered
 whether the event was delivered
std::string m_delivery_time
std::string m_destination
std::string m_message
std::string m_message_id
std::string m_submission_time

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index