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

ICQ2000 Namespace Reference


Detailed Description

MessageHandler

Copyright (C) 2002 Barnaby Gray <barnaby@beedesign.co.uk>

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA


Classes

class  _ContactList_const_iterator
class  _ContactList_iterator
class  AddBuddySNAC
class  AddInvisibleSNAC
class  AddTmpVisibleSNAC
class  AddVisibleSNAC
class  AdvMsgBodyTLV
class  AdvMsgDataTLV
class  AuthAccICQSubType
class  AuthAckEvent
class  AuthRejICQSubType
class  AuthReqEvent
class  AuthReqICQSubType
class  AwayMessageEvent
class  AwayMsgSubType
struct  BackgroundRecord
class  BOSFamilySNAC
class  BOSListSNAC
class  BuddyOfflineSNAC
class  BuddyOnlineSNAC
class  BUDFamilySNAC
class  Cache
class  CacheItem
struct  Capabilities
class  CapabilitiesSNAC
class  CapabilitiesTLV
class  CapAckSNAC
class  Client
class  ClientBuildMajorTLV
class  ClientBuildMinorTLV
class  ClientICQNumberTLV
class  ClientProfileTLV
class  ClientReadySNAC
class  ClientTypeTLV
class  ClientVersionMajorTLV
class  ClientVersionMinorTLV
class  ConnectedEvent
class  ConnectingEvent
class  Contact
class  ContactEvent
class  ContactList
class  ContactListEvent
class  CookieTLV
struct  Country
class  CountryCodeTLV
class  DCCache
class  DirectClient
class  DisconnectedEvent
class  DisconnectMessageTLV
class  DisconnectReasonTLV
class  EmailExEvent
class  EmailExICQSubType
class  EmailMessageEvent
class  ErrorCodeTLV
class  ErrorURLTLV
class  Event
class  GenericSNAC
class  ICBMCookie
class  ICBMCookieCache
class  ICQDataTLV
class  ICQMessageEvent
class  ICQSubType
class  InSNAC
class  InTLV
class  IPAddressTLV
class  LANDetailsTLV
class  LanguageTLV
class  LOCFamilySNAC
class  LogEvent
class  LongTLV
class  MessageACKSNAC
class  MessageDataTLV
class  MessageEvent
class  MessageHandler
class  MessageOfflineUserSNAC
class  MessageSNAC
class  MessageTextTLV
class  MOTDSNAC
class  MsgAddICBMParameterSNAC
class  MsgFamilySNAC
class  MsgSendSNAC
class  NewUINEvent
class  NormalICQSubType
class  NormalMessageEvent
class  OutSNAC
class  OutTLV
class  ParseException
class  PasswordTLV
class  PersonalInfoRequestSNAC
class  PortTLV
class  RateInfoAckSNAC
class  RateInfoChangeEvent
class  RateInfoChangeSNAC
class  RateInfoSNAC
class  RawSNAC
class  RawTLV
class  RedirectTLV
class  ref_ptr
class  RemoveBuddySNAC
class  RemoveInvisibleSNAC
class  RemoveTmpVisibleSNAC
class  RemoveVisibleSNAC
class  RequestIDCache
class  RequestIDCacheValue
class  RequestRateInfoSNAC
class  RequestSBLSNAC
class  SBLFamilySNAC
class  SBLListSNAC
class  ScreenNameTLV
class  SearchCacheValue
class  SearchResultEvent
class  SeqNumCache
class  ServerBasedContactEvent
class  ServerReadySNAC
class  SetIdleSNAC
class  SetStatusSNAC
class  SetUserInfoSNAC
class  ShortTLV
class  SignonDateTLV
class  SignupDateTLV
class  SMSEventCacheValue
class  SMSICQSubType
class  SMSMessageEvent
class  SMSReceiptEvent
class  SNAC
class  SrvAckOfflineSNAC
class  SrvFamilySNAC
class  SrvRequestDetailUserInfo
class  SrvRequestFullWP
class  SrvRequestKeywordSearch
class  SrvRequestOfflineSNAC
class  SrvRequestShortWP
class  SrvRequestSimpleUserInfo
class  SrvResponseSNAC
class  SrvSendSNAC
class  SrvUpdateAboutInfo
class  SrvUpdateHomepageInfo
class  SrvUpdateMainHomeInfo
class  SrvUpdateWorkInfo
class  StatusChangeEvent
class  StatusTLV
class  StringTLV
class  TimeOnlineTLV
class  TLV
class  TLVList
class  Translator
class  TranslatorException
class  UINFamilySNAC
class  UINICQSubType
class  UINRequestErrorSNAC
class  UINRequestSNAC
class  UINResponseSNAC
class  UnknownTLV
class  URLICQSubType
class  URLMessageEvent
class  UserAddedEvent
class  UserAddEvent
class  UserAddICQSubType
class  UserClassTLV
class  UserInfoBlock
class  UserInfoCacheValue
class  UserInfoCapabilitiesTLV
class  UserInfoChangeEvent
class  UserInfoSNAC
class  UserRemovedEvent
class  WebAddressTLV
class  WebPagerEvent
class  WebPagerICQSubType

Typedefs

typedef ref_ptr< Contact > ContactRef

Enumerations

enum  AgeRange {
  range_NoRange = 0, range_18_22 = 1, range_23_29 = 2, range_30_39 = 3,
  range_40_49 = 4, range_50_59 = 5, range_60_above = 6
}
enum  Sex { SEX_UNSPECIFIED = 0, SEX_FEMALE = 1, SEX_MALE = 2 }
enum  Status {
  STATUS_ONLINE, STATUS_AWAY, STATUS_NA, STATUS_OCCUPIED,
  STATUS_DND, STATUS_FREEFORCHAT, STATUS_OFFLINE
}
enum  TLV_ParseMode {
  TLV_ParseMode_Channel01, TLV_ParseMode_Channel02, TLV_ParseMode_Channel04, TLV_ParseMode_MessageBlock,
  TLV_ParseMode_AdvMsgBlock, TLV_ParseMode_InMessageData, TLV_ParseMode_InAdvMsgData
}

Functions

void contactlist_signal_cb (Client *client, int signal_type, ContactListEvent *ev)
void DCCache_expired_cb (Client *client, DirectClient *ev)
time_t gmt_mktime (struct tm *tm)
void ICBMCookieCache_expired_cb (Client *client, MessageEvent *ev)
void logger_cb (Client *client, LogEvent *ev)
void messageack_cb (Client *client, MessageEvent *ev)
void messaged_cb (Client *client, MessageEvent *ev)
InSNAC * ParseSNAC (Buffer &b)
void reqidcache_expired_cb (Client *client, RequestIDCacheValue *v)
void sequence_expired_cb (DirectClient *client, MessageEvent *ev)
void status_change_signal_cb (Client *client, StatusChangeEvent *ev)
void string_split (const string &in, const string &sep, int count, std::list< string > &fields)
void string_split (const std::string &in, const std::string &sep, int count, std::list< std::string > &fields)
void userinfo_change_signal_cb (Client *client, UserInfoChangeEvent *ev)
void want_auto_resp_cb (Client *client, ICQMessageEvent *ev)

Variables

const unsigned short AcceptStatus_Away = 0x0004
const unsigned short AcceptStatus_Denied = 0x0001
const unsigned short AcceptStatus_DND = 0x000a
const unsigned short AcceptStatus_NA = 0x000e
const unsigned short AcceptStatus_Occ_Accept = 0x000c
const unsigned short AcceptStatus_Occupied = 0x0009
const unsigned short AcceptStatus_Online = 0x0000
static const char *const AgeRange_text []
const unsigned char ALLOWDIRECT_AUTHORIZATION = 0x10
const unsigned char ALLOWDIRECT_CONTACTLIST = 0x20
const unsigned char ALLOWDIRECT_EVERYONE = 0x00
static struct BackgroundRecord Background_table [Background_table_size]
static const unsigned short Background_table_size = 8
static struct Country Country_table [Country_table_size]
static const unsigned short Country_table_size = 243
static const unsigned int Incoming_Packet_Limit = 65535
static const unsigned char Interests_offset = 100
static const char *const Interests_table [Interests_table_size]
static const unsigned char Interests_table_size = 51
static const char *const Language_table [Language_table_size]
static const unsigned char Language_table_size = 60
const unsigned char MOTD_ADVISORY_UPGRADE = 0x02
const unsigned char MOTD_MANDATORY_UPGRADE = 0x01
const unsigned char MOTD_NORMAL = 0x04
const unsigned char MOTD_SYSTEM_BULLETIN = 0x03
const unsigned char MSG_Flag_AutoReq = 0x03
const unsigned char MSG_Flag_Multi = 0x80
const unsigned char MSG_Type_AuthAcc = 0x08
const unsigned char MSG_Type_AuthRej = 0x07
const unsigned char MSG_Type_AuthReq = 0x06
const unsigned char MSG_Type_AutoReq_Away = 0xe8
const unsigned char MSG_Type_AutoReq_DND = 0xeb
const unsigned char MSG_Type_AutoReq_FFC = 0xec
const unsigned char MSG_Type_AutoReq_NA = 0xea
const unsigned char MSG_Type_AutoReq_Occ = 0xe9
const unsigned char MSG_Type_EmailEx = 0x0e
const unsigned char MSG_Type_Normal = 0x01
const unsigned char MSG_Type_SMS = 0x1a
const unsigned char MSG_Type_URL = 0x04
const unsigned char MSG_Type_UserAdd = 0x0c
const unsigned char MSG_Type_WebPager = 0x0d
const unsigned short Priority_Normal = 0x0001
const unsigned short Priority_ToContactList = 0x0004
const unsigned short Priority_Urgent = 0x0002
static const unsigned int SMS_Max_Length = 160
const unsigned short SNAC_BOS_Add_Invisible = 0x0007
const unsigned short SNAC_BOS_Add_Tmp_Visible = 0x000A
const unsigned short SNAC_BOS_Add_Visible = 0x0005
const unsigned short SNAC_BOS_Remove_Invisible = 0x0008
const unsigned short SNAC_BOS_Remove_Tmp_Visible = 0x000B
const unsigned short SNAC_BOS_Remove_Visible = 0x0006
const unsigned short SNAC_BUD_AddBuddy = 0x0004
const unsigned short SNAC_BUD_Error = 0x0001
const unsigned short SNAC_BUD_Offline = 0x000c
const unsigned short SNAC_BUD_Online = 0x000b
const unsigned short SNAC_BUD_RemoveBuddy = 0x0005
const unsigned short SNAC_FAM_ADM = 0x0007
const unsigned short SNAC_FAM_ADS = 0x0005
const unsigned short SNAC_FAM_BOS = 0x0009
const unsigned short SNAC_FAM_BUD = 0x0003
const unsigned short SNAC_FAM_CHT = 0x000e
const unsigned short SNAC_FAM_CNV = 0x000d
const unsigned short SNAC_FAM_GEN = 0x0001
const unsigned short SNAC_FAM_INV = 0x0006
const unsigned short SNAC_FAM_LOC = 0x0002
const unsigned short SNAC_FAM_LUP = 0x000a
const unsigned short SNAC_FAM_MSG = 0x0004
const unsigned short SNAC_FAM_POP = 0x0008
const unsigned short SNAC_FAM_SBL = 0x0013
const unsigned short SNAC_FAM_SRV = 0x0015
const unsigned short SNAC_FAM_STS = 0x000b
const unsigned short SNAC_FAM_TRT = 0x000c
const unsigned short SNAC_FAM_UIN = 0x0017
const unsigned short SNAC_GEN_Capabilities = 0x0017
const unsigned short SNAC_GEN_CapAck = 0x0018
const unsigned short SNAC_GEN_ClientReady = 0x0002
const unsigned short SNAC_GEN_Error = 0x0001
const unsigned short SNAC_GEN_Evil = 0x0010
const unsigned short SNAC_GEN_MigrationRequest = 0x0012
const unsigned short SNAC_GEN_MOTD = 0x0013
const unsigned short SNAC_GEN_NewService = 0x0004
const unsigned short SNAC_GEN_NOP = 0x0016
const unsigned short SNAC_GEN_RateInfo = 0x0007
const unsigned short SNAC_GEN_RateInfoAck = 0x0008
const unsigned short SNAC_GEN_RateInfoChange = 0x000a
const unsigned short SNAC_GEN_Redirect = 0x0005
const unsigned short SNAC_GEN_RequestRateInfo = 0x0006
const unsigned short SNAC_GEN_ServerPause = 0x000b
const unsigned short SNAC_GEN_ServerReady = 0x0003
const unsigned short SNAC_GEN_ServerResume = 0x000d
const unsigned short SNAC_GEN_SetIdle = 0x0011
const unsigned short SNAC_GEN_SetPrivFlags = 0x0014
const unsigned short SNAC_GEN_SetStatus = 0x001e
const unsigned short SNAC_GEN_UserInfo = 0x000f
const unsigned short SNAC_GEN_UserInfoRequest = 0x000e
const unsigned short SNAC_GEN_WellKnownURL = 0x0015
const unsigned short SNAC_LOC_Error = 0x0001
const unsigned short SNAC_LOC_Rights = 0x0003
const unsigned short SNAC_LOC_RightsReq = 0x0002
const unsigned short SNAC_LOC_SetUserInfo = 0x0004
const unsigned short SNAC_MSG_AddICBMParameter = 0x0002
const unsigned short SNAC_MSG_Error = 0x0001
const unsigned short SNAC_MSG_Message = 0x0007
const unsigned short SNAC_MSG_MessageACK = 0x000b
const unsigned short SNAC_MSG_OfflineUser = 0x000c
const unsigned short SNAC_MSG_Send = 0x0006
const unsigned short SNAC_SBL_List_From_Server = 0x0006
const unsigned short SNAC_SBL_Request_List = 0x0005
const unsigned short SNAC_SRV_Error = 0x0001
const unsigned short SNAC_SRV_Response = 0x0003
const unsigned short SNAC_SRV_Send = 0x0002
const unsigned short SNAC_UIN_Request = 0x0004
const unsigned short SNAC_UIN_RequestError = 0x0001
const unsigned short SNAC_UIN_Response = 0x0005
const unsigned short SrvResponse_AboutInfo = 0x00e6
const unsigned short SrvResponse_AckAboutInfoChange = 0x0082
const unsigned short SrvResponse_AckHomepageInfoChange = 0x0078
const unsigned short SrvResponse_AckMainHomeInfoChange = 0x0064
const unsigned short SrvResponse_AckWorkInfoChange = 0x006E
const unsigned short SrvResponse_BackgroundInfo = 0x00fa
const unsigned short SrvResponse_EmailInfo = 0x00eb
const unsigned short SrvResponse_Error = 0x0001
const unsigned short SrvResponse_HomePageInfo = 0x00dc
const unsigned short SrvResponse_InterestInfo = 0x00f0
const unsigned short SrvResponse_MainHomeInfo = 0x00c8
const unsigned short SrvResponse_SearchUI = 0x01a4
const unsigned short SrvResponse_SearchUI_Done = 0x01ae
const unsigned short SrvResponse_SimpleUI = 0x0190
const unsigned short SrvResponse_SimpleUI_Done = 0x019a
const unsigned short SrvResponse_SMS_Done = 0x0096
const unsigned short SrvResponse_Unknown = 0x010e
const unsigned short SrvResponse_WorkInfo = 0x00d2
const unsigned short STATUS_FLAG_AWAY = 0x0001
const unsigned short STATUS_FLAG_DND = 0x0002
const unsigned short STATUS_FLAG_FREEFORCHAT = 0x0020
const unsigned short STATUS_FLAG_INVISIBLE = 0x0100
const unsigned short STATUS_FLAG_NA = 0x0004
const unsigned short STATUS_FLAG_OCCUPIED = 0x0010
const unsigned short STATUS_FLAG_ONLINE = 0x0000
static const char *const Status_text []
static const unsigned int String_Limit = 16384
static const signed char Timezone_unknown = -100
const unsigned short TLV_AdvMsgBody = 0x2711
const unsigned short TLV_AdvMsgData = 0x0005
const unsigned short TLV_Capabilities = 0x000d
const unsigned short TLV_ClientBuildMajor = 0x001a
const unsigned short TLV_ClientBuildMinor = 0x0014
const unsigned short TLV_ClientICQNumber = 0x0019
const unsigned short TLV_ClientProfile = 0x0003
const unsigned short TLV_ClientType = 0x0016
const unsigned short TLV_ClientVersionMajor = 0x0017
const unsigned short TLV_ClientVersionMinor = 0x0018
const unsigned short TLV_Cookie = 0x0006
const unsigned short TLV_CountryCode = 0x000e
const unsigned short TLV_DisconnectMessage = 0x000b
const unsigned short TLV_DisconnectReason = 0x0009
const unsigned short TLV_EmailAddress = 0x0011
const unsigned short TLV_ErrorCode = 0x0008
const unsigned short TLV_ErrorURL = 0x0004
const unsigned short TLV_ICQData = 0x0005
const unsigned short TLV_IPAddress = 0x000a
const unsigned short TLV_LANDetails = 0x000c
const unsigned short TLV_Language = 0x000f
const unsigned short TLV_MessageData = 0x0002
const unsigned short TLV_MessageIsAutoResponse = 0x0004
const unsigned short TLV_MessageText = 0x0101
const unsigned short TLV_Password = 0x0002
const unsigned short TLV_Port = 0x0004
const unsigned short TLV_Redirect = 0x0005
const unsigned short TLV_RegStatus = 0x0013
const unsigned short TLV_Screenname = 0x0001
const unsigned short TLV_ServerAckRequested = 0x0003
const unsigned short TLV_SignonDate = 0x0003
const unsigned short TLV_SignupDate = 0x0002
const unsigned short TLV_Status = 0x0006
const unsigned short TLV_TimeOnline = 0x000f
const unsigned short TLV_Unknown = 0x0008
const unsigned short TLV_Unknown0501 = 0x0501
const unsigned short TLV_Unknown3 = 0x000c
const unsigned short TLV_UserClass = 0x0001
const unsigned short TLV_UserInfo = 0x0005
const unsigned short TLV_UserInfoCapabilities = 0x0005
const unsigned short TLV_WebAddress = 0x000b
const unsigned short V6_TCP_ACK = 0x07da
const unsigned short V6_TCP_START = 0x07ee
const unsigned char WEBAWARE_NORMAL = 0x02
const unsigned char WEBAWARE_WEBAWARE = 0x03
static const unsigned char XORtable []


Generated by  Doxygen 1.6.0   Back to index