BLOG | DOCUMENTATION | TRAC

Home --> Documentations --> PJSIP Reference

pj::FindBuddyMatch Class Reference

#include <account.hpp>

Public Member Functions

virtual bool match (const string &token, const Buddy &buddy)
 
virtual ~FindBuddyMatch ()
 

Detailed Description

Wrapper class for Buddy matching algo.

Default algo is a simple substring lookup of search-token in the Buddy URIs, with case sensitive. Application can implement its own matching algo by overriding this class and specifying its instance in Account::findBuddy().

Constructor & Destructor Documentation

◆ ~FindBuddyMatch()

virtual pj::FindBuddyMatch::~FindBuddyMatch ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ match()

virtual bool pj::FindBuddyMatch::match ( const string &  token,
const Buddy buddy 
)
inlinevirtual

Default algo implementation.

References pj::Buddy::getInfo(), and pj::BuddyInfo::uri.


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

 


PJSIP Open Source, high performance, small footprint, and very very portable SIP stack
Copyright (C) 2006-2008 Teluu Inc.