OPAL  Version 3.10.10
OpalConnectionIMContext Class Reference

#include <im.h>

Inheritance diagram for OpalConnectionIMContext:
OpalIMContext OpalSIPIMContext

Public Member Functions

 OpalConnectionIMContext ()
 
- 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 ()
 
OpalIMGetIncomingMessage ()
 
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< OpalIMContextCreate (OpalManager &manager, const PURL &localURL, const PURL &remoteURL)
 
static PSafePtr< OpalIMContextCreate (OpalManager &manager, PSafePtr< OpalConnection > conn)
 
static PSafePtr< OpalIMContextCreate (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
 
OpalManagerm_manager
 
PStringOptions m_attributes
 
PSafePtr< OpalConnectionm_connection
 
PSafePtr< OpalPresentitym_presentity
 
PMutex m_incomingMessagesMutex
 
PQueue< OpalIMm_incomingMessages
 
PMutex m_outgoingMessagesMutex
 
OpalIMm_currentOutgoingMessage
 
PQueue< OpalIMm_outgoingMessages
 
PMutex m_lastUsedMutex
 
PTime m_lastUsed
 

Constructor & Destructor Documentation

OpalConnectionIMContext::OpalConnectionIMContext ( )

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