reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
resip::TuIM Class Reference

#include <TuIM.hxx>

Classes

class  Callback
 

Public Member Functions

 TuIM (SipStack *stack, const Uri &aor, const Uri &contact, Callback *callback, const int registrationTimeSeconds=1 *60 *60, const int subscriptionTimeSeconds=10 *60)
 
void setOutboundProxy (const Uri &uri)
 
void setDefaultProtocol (TransportType protocol)
 
void setUAName (const Data &name)
 
bool haveCerts (bool sign, const Data &encryptFor)
 
void sendPage (const Data &text, const Uri &dest, const bool sign=false, const Data &encryptFor=Data::Empty)
 
void process ()
 
void registerAor (const Uri &uri, const Data &password=Data::Empty)
 
int getNumBuddies () const
 
const Uri getBuddyUri (const int index)
 
const Data getBuddyGroup (const int index)
 
bool getBuddyStatus (const int index, Data *status=NULL)
 
void addBuddy (const Uri &uri, const Data &group)
 
void removeBuddy (const Uri &name)
 
void setMyPresence (const bool open, const Data &status=Data::Empty, const Data &user=Data::Empty)
 
void addStateAgent (const Uri &uri)
 
void authorizeSubscription (const Data &user)
 

Detailed Description

Definition at line 17 of file TuIM.hxx.

Constructor & Destructor Documentation

◆ TuIM()

TuIM::TuIM ( SipStack *  stack,
const Uri &  aor,
const Uri &  contact,
Callback *  callback,
const int  registrationTimeSeconds = 1*60*60,
const int  subscriptionTimeSeconds = 10*60 
)

Definition at line 62 of file TuIM.cxx.

Member Function Documentation

◆ addBuddy()

void TuIM::addBuddy ( const Uri &  uri,
const Data &  group 
)

Definition at line 1266 of file TuIM.cxx.

◆ addStateAgent()

void TuIM::addStateAgent ( const Uri &  uri)

Definition at line 1432 of file TuIM.cxx.

◆ authorizeSubscription()

void TuIM::authorizeSubscription ( const Data &  user)

Definition at line 1350 of file TuIM.cxx.

◆ getBuddyGroup()

const Data TuIM::getBuddyGroup ( const int  index)

Definition at line 1221 of file TuIM.cxx.

◆ getBuddyStatus()

bool TuIM::getBuddyStatus ( const int  index,
Data *  status = NULL 
)

Definition at line 1231 of file TuIM.cxx.

◆ getBuddyUri()

const Uri TuIM::getBuddyUri ( const int  index)

Definition at line 1211 of file TuIM.cxx.

◆ getNumBuddies()

int TuIM::getNumBuddies ( ) const

Definition at line 1204 of file TuIM.cxx.

◆ haveCerts()

bool TuIM::haveCerts ( bool  sign,
const Data &  encryptFor 
)

Definition at line 91 of file TuIM.cxx.

◆ process()

void TuIM::process ( )

Definition at line 1102 of file TuIM.cxx.

◆ registerAor()

void TuIM::registerAor ( const Uri &  uri,
const Data &  password = Data::Empty 
)

Definition at line 1176 of file TuIM.cxx.

◆ removeBuddy()

void TuIM::removeBuddy ( const Uri &  name)

Definition at line 1283 of file TuIM.cxx.

◆ sendPage()

void TuIM::sendPage ( const Data &  text,
const Uri &  dest,
const bool  sign = false,
const Data &  encryptFor = Data::Empty 
)

Definition at line 124 of file TuIM.cxx.

◆ setDefaultProtocol()

void TuIM::setDefaultProtocol ( TransportType  protocol)

Definition at line 1425 of file TuIM.cxx.

◆ setMyPresence()

void TuIM::setMyPresence ( const bool  open,
const Data &  status = Data::Empty,
const Data &  user = Data::Empty 
)

Definition at line 1357 of file TuIM.cxx.

◆ setOutboundProxy()

void TuIM::setOutboundProxy ( const Uri &  uri)

Definition at line 1379 of file TuIM.cxx.

◆ setUAName()

void TuIM::setUAName ( const Data &  name)

Definition at line 1387 of file TuIM.cxx.


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