OpalPresentityIMContext Class Reference

`#include <im.h>`

Inheritance diagram for OpalPresentityIMContext:

## Public Member Functions

| OpalPresentityIMContext ()
Public Member Functions inherited from OpalIMContext
| OpalIMContext ()
| ~OpalIMContext ()
virtual SentStatus | Send (OpalIM *message)
virtual SentStatus | SendCompositionIndication (bool active=true)
virtual void | OnMessageSent (const MessageSentInfo &info)
void | SetMessageSentNotifier (const MessageSentNotifier &notifier)
| Set the notifier for the OnMessageSent() function. More...
virtual SentStatus | OnIncomingIM (OpalIM &message)
void | SetIncomingIMNotifier (const IncomingIMNotifier &notifier)
| Set the notifier for the OnIncomingMessage() function. More...
virtual void | OnCompositionIndicationChanged (const PString &state)
void | SetCompositionIndicationChangedNotifier (const CompositionIndicationChangedNotifier &notifier)
| 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)
virtual void | OnCompositionIndicationTimeout ()
OpalIM * | GetIncomingMessage ()
virtual void | InternalOnMessageSent (const MessageSentInfo &info)
void | ResetLastUsed ()

## 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
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 inherited from OpalIMContext
virtual SentStatus | InternalSend ()
virtual SentStatus | InternalSendOutsideCall (OpalIM *message)
virtual SentStatus | InternalSendInsideCall (OpalIM *message)
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

## Constructor & Destructor Documentation

OpalPresentityIMContext::OpalPresentityIMContext | ( |  | ) |

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

- im.h