32 #ifndef OPAL_OPAL_ENDPOINT_H
33 #define OPAL_OPAL_ENDPOINT_H
82 const PCaselessString & prefix,
121 const PStringArray & interfaces
185 PBoolean excludeLocalHost =
true,
252 const PString & party,
253 void * userData = NULL,
254 unsigned int options = 0,
345 const PString & caller
418 const PString & remoteParty
470 const PStringToString & info
481 const PString & token,
483 PSyncPoint * sync = NULL
491 const PString & token,
493 PSyncPoint * sync = NULL
512 const PString & token,
513 PSafetyMode mode = PSafeReadWrite
522 template <
class ConnClass>
524 const PString & token,
525 PSafetyMode mode = PSafeReadWrite
528 PSafePtr<ConnClass> connection = PSafePtrCast<OpalConnection, ConnClass>(
GetConnectionWithLock(token, mode));
529 if (connection == NULL) {
532 connection = PSafePtrCast<OpalConnection, ConnClass>(call->GetConnection(0, mode));
533 if (connection == NULL)
534 connection = PSafePtrCast<OpalConnection, ConnClass>(call->GetConnection(1, mode));
551 const PString & token
618 PVideoInputDevice * & device,
619 PBoolean & autoDelete
629 PVideoOutputDevice * & device,
630 PBoolean & autoDelete
643 const PString & value
662 const char * terminators =
"#\r\n",
663 unsigned lastDigitTimeout = 4,
664 unsigned firstDigitTimeout = 30
678 const PString & type,
679 const PString & body,
681 PString & conversationId
707 const PString & party,
709 const PString & extraInfo
801 PString GetSSLCertificate()
const;
822 virtual void DeleteObject(PObject *
object)
const;
835 P_REMOVE_VIRTUAL_VOID(
OnMessageReceived(
const PURL&,
const PString&,
const PURL&,
const PString&,
const PString&,
const PString&));
841 const PString & number,
846 #endif // OPAL_OPAL_ENDPOINT_H