|
OPAL
Version 3.10.10
|
#include <sipim.h>
Public Member Functions | |
| OpalSIPIMContext () | |
| virtual SentStatus | SendCompositionIndication (bool active=true) |
Public Member Functions inherited from OpalConnectionIMContext | |
| OpalConnectionIMContext () | |
Public Member Functions inherited from OpalIMContext | |
| OpalIMContext () | |
| ~OpalIMContext () | |
| virtual SentStatus | Send (OpalIM *message) |
| virtual void | OnMessageSent (const MessageSentInfo &info) |
| void | SetMessageSentNotifier (const MessageSentNotifier ¬ifier) |
| Set the notifier for the OnMessageSent() function. More... | |
| void | SetIncomingIMNotifier (const IncomingIMNotifier ¬ifier) |
| Set the notifier for the OnIncomingMessage() function. More... | |
| virtual void | OnCompositionIndicationChanged (const PString &state) |
| void | SetCompositionIndicationChangedNotifier (const CompositionIndicationChangedNotifier ¬ifier) |
| Set the notifier for the OnIncomingMessage() function. More... | |
| virtual bool | CheckContentType (const PString &contentType) const |
| virtual PStringArray | GetContentTypes () const |
| PString | GetID () const |
| void | SetID (const PString &id) |
| PString | GetKey () const |
| PString | GetLocalURL () const |
| PString | GetRemoteURL () const |
| PStringOptions & | GetAttributes () |
| < Get the attributes for this presentity. More... | |
| const PStringOptions & | GetAttributes () const |
| virtual bool | OnNewIncomingIM () |
| virtual bool | AddIncomingIM (OpalIM *message) |
| OpalIM * | GetIncomingMessage () |
| virtual void | InternalOnMessageSent (const MessageSentInfo &info) |
| void | ResetLastUsed () |
Static Public Member Functions | |
| static void | PopulateParams (SIPMessage::Params ¶ms, OpalIM &message) |
Static Public Member Functions inherited from OpalIMContext | |
| static PSafePtr< OpalIMContext > | Create (OpalManager &manager, const PURL &localURL, const PURL &remoteURL) |
| static PSafePtr< OpalIMContext > | Create (OpalManager &manager, PSafePtr< OpalConnection > conn) |
| static PSafePtr< OpalIMContext > | Create (OpalManager &manager, PSafePtr< OpalPresentity > presentity, const PURL &remoteURL) |
| static PString | CreateKey (const PString &from, const PString &to) |
Protected Member Functions | |
| virtual SentStatus | InternalSendOutsideCall (OpalIM *message) |
| virtual SentStatus | InternalSendInsideCall (OpalIM *message) |
| virtual SentStatus | OnIncomingIM (OpalIM &message) |
| void | OnCompositionIndicationTimeout () |
| void | ResetTimers (OpalIM &message) |
| PDECLARE_NOTIFIER (PTimer, OpalSIPIMContext, OnRxCompositionTimerExpire) | |
| PDECLARE_NOTIFIER (PTimer, OpalSIPIMContext, OnTxCompositionTimerExpire) | |
| PDECLARE_NOTIFIER (PTimer, OpalSIPIMContext, OnTxIdleTimerExpire) | |
Protected Member Functions inherited from OpalIMContext | |
| virtual SentStatus | InternalSend () |
Protected Attributes | |
| PTimer | m_rxCompositionTimeout |
| PTimer | m_txCompositionTimeout |
| PTimer | m_txIdleTimeout |
| RFC4103Context | m_rfc4103Context |
Protected Attributes inherited from OpalIMContext | |
| PMutex | m_notificationMutex |
| IncomingIMNotifier | m_incomingMessageNotifier |
| MessageSentNotifier | m_messageSentNotifier |
| CompositionIndicationChangedNotifier | m_compositionIndicationChangedNotifier |
| OpalManager * | m_manager |
| PStringOptions | m_attributes |
| PSafePtr< OpalConnection > | m_connection |
| PSafePtr< OpalPresentity > | m_presentity |
| PMutex | m_incomingMessagesMutex |
| PQueue< OpalIM > | m_incomingMessages |
| PMutex | m_outgoingMessagesMutex |
| OpalIM * | m_currentOutgoingMessage |
| PQueue< OpalIM > | m_outgoingMessages |
| PMutex | m_lastUsedMutex |
| PTime | m_lastUsed |
Additional Inherited Members | |
Public Types inherited from OpalIMContext | |
| enum | SentStatus { SentOK, SentPending, SentAccepted, SentUnacceptableContent, SentInvalidContent, SentConnectionClosed, SentNoTransport, SentNoAnswer, SentDestinationUnknown, SentFailedGeneric } |
| typedef PNotifierTemplate< const MessageSentInfo & > | MessageSentNotifier |
| typedef PNotifierTemplate< const OpalIM & > | IncomingIMNotifier |
| typedef PNotifierTemplate< const PString & > | CompositionIndicationChangedNotifier |
| OpalSIPIMContext::OpalSIPIMContext | ( | ) |
|
protectedvirtual |
Reimplemented from OpalIMContext.
|
protectedvirtual |
Reimplemented from OpalIMContext.
|
protectedvirtual |
Reimplemented from OpalIMContext.
|
protectedvirtual |
Called when an incoming message arrives for this context Default implementation calls IncomingIMNotifier, if set, else returns true
Reimplemented from OpalIMContext.
|
protected |
|
protected |
|
protected |
|
static |
|
protected |
|
virtual |
Reimplemented from OpalIMContext.
|
protected |
|
protected |
|
protected |
|
protected |