32 #ifndef OPAL_OPAL_ENDPOINT_H
33 #define OPAL_OPAL_ENDPOINT_H
85 const PCaselessString & prefix,
129 const PStringArray & interfaces,
174 virtual bool ApplySSLCredentials(
175 PSSLContext & context,
221 virtual void NewIncomingConnection(
272 const PString & party,
273 void * userData = NULL,
274 unsigned int options = 0,
363 virtual OpalConnection::AnswerCallResponse
OnAnswerCall(
365 const PString & caller
438 const PString & remoteParty
490 const PStringToString & info
503 const PString & token,
505 PSyncPoint * sync = NULL
513 const PString & token,
515 PSyncPoint * sync = NULL
542 const PString & token,
543 PSafetyMode mode = PSafeReadWrite
552 template <
class ConnClass>
554 const PString & token,
555 PSafetyMode mode = PSafeReadWrite
558 PSafePtr<ConnClass> connection = PSafePtrCast<OpalConnection, ConnClass>(
GetConnectionWithLock(token, mode));
559 if (connection == NULL) {
562 connection = PSafePtrCast<OpalConnection, ConnClass>(call->GetConnection(0, mode));
563 if (connection == NULL)
564 connection = PSafePtrCast<OpalConnection, ConnClass>(call->GetConnection(1, mode));
581 const PString & token
665 const PString & reason
677 const PStringArray & security
701 const PString & value
728 const char * terminators =
"#\r\n",
729 unsigned lastDigitTimeout = 4,
730 unsigned firstDigitTimeout = 30
746 const PString & type,
747 const PString & body,
749 PString & conversationId
761 #endif // OPAL_HAS_IM
777 const PString & party,
779 const PString & extraInfo
799 const PString & name = PString::Empty()
939 virtual void DeleteObject(PObject *
object)
const;
949 P_REMOVE_VIRTUAL_VOID(
OnMessageReceived(
const PURL&,
const PString&,
const PURL&,
const PString&,
const PString&,
const PString&));
951 P_REMOVE_VIRTUAL(PBoolean, NewIncomingConnection(
OpalTransport *),
false);
953 P_REMOVE_VIRTUAL(PNatMethod *, GetNatMethod(
const PIPSocket::Address &)
const, NULL);
960 const PString & number,
965 #endif // OPAL_OPAL_ENDPOINT_H