32 #ifndef OPAL_OPAL_ENDPOINT_H
33 #define OPAL_OPAL_ENDPOINT_H
84 const PCaselessString & prefix,
128 const PStringArray & interfaces,
173 virtual bool ApplySSLCredentials(
174 PSSLContext & context,
209 PBoolean excludeLocalHost =
true,
219 virtual void NewIncomingConnection(
270 const PString & party,
271 void * userData = NULL,
272 unsigned int options = 0,
361 virtual OpalConnection::AnswerCallResponse
OnAnswerCall(
363 const PString & caller
436 const PString & remoteParty
488 const PStringToString & info
501 const PString & token,
503 PSyncPoint * sync = NULL
511 const PString & token,
513 PSyncPoint * sync = NULL
540 const PString & token,
541 PSafetyMode mode = PSafeReadWrite
550 template <
class ConnClass>
552 const PString & token,
553 PSafetyMode mode = PSafeReadWrite
556 PSafePtr<ConnClass> connection = PSafePtrCast<OpalConnection, ConnClass>(
GetConnectionWithLock(token, mode));
557 if (connection == NULL) {
560 connection = PSafePtrCast<OpalConnection, ConnClass>(call->GetConnection(0, mode));
561 if (connection == NULL)
562 connection = PSafePtrCast<OpalConnection, ConnClass>(call->GetConnection(1, mode));
579 const PString & token
649 const PStringArray & security
667 PNatStrategy & GetNatMethods()
const;
674 virtual PNatMethod * GetNatMethod(
675 const PIPSocket::Address & remoteAddress = PIPSocket::GetDefaultIpAny()
685 PVideoInputDevice * & device,
686 PBoolean & autoDelete
696 PVideoOutputDevice * & device,
697 PBoolean & autoDelete
710 const PString & value
729 const char * terminators =
"#\r\n",
730 unsigned lastDigitTimeout = 4,
731 unsigned firstDigitTimeout = 30
747 const PString & type,
748 const PString & body,
750 PString & conversationId
762 #endif // OPAL_HAS_IM
778 const PString & party,
780 const PString & extraInfo
800 const PString & name = PString::Empty()
932 virtual void DeleteObject(PObject *
object)
const;
943 P_REMOVE_VIRTUAL_VOID(
OnMessageReceived(
const PURL&,
const PString&,
const PURL&,
const PString&,
const PString&,
const PString&));
945 P_REMOVE_VIRTUAL(PBoolean, NewIncomingConnection(
OpalTransport *),
false);
951 const PString & number,
956 #endif // OPAL_OPAL_ENDPOINT_H