sipxmediaadapterlib  Version 3.3
Private Attributes | List of all members
MiStringNotf Class Reference

Message notification class used to communicate abstract integer value. More...

#include <MiStringNotf.h>

Inheritance diagram for MiStringNotf:
Inheritance graph
[legend]
Collaboration diagram for MiStringNotf:
Collaboration graph
[legend]

Public Member Functions

Creators
 MiStringNotf (NotfType msgType, const UtlString &sourceId, const UtlString &value, int connectionId=INVALID_CONNECTION_ID, int streamId=-1)
 Constructor. More...
 
 MiStringNotf (const MiStringNotf &rNotf)
 Copy constructor. More...
 
virtual OsMsg * createCopy () const
 Create a copy of this msg object (which may be of a derived type) More...
 
virtual ~MiStringNotf ()
 Destructor. More...
 
Manipulators
MiStringNotfoperator= (const MiStringNotf &rhs)
 Assignment operator. More...
 
Accessors
void setValue (const UtlString &value)
 Set the value this notification reports. More...
 
void getValue (UtlString &value) const
 Get the value this notification reports. More...
 
- Public Member Functions inherited from MiNotification
 MiNotification (NotfType msgType, const UtlString &sourceId, int connectionId=INVALID_CONNECTION_ID, int streamId=-1)
 Constructor. More...
 
 MiNotification (const MiNotification &rNotf)
 Copy constructor. More...
 
virtual ~MiNotification ()
 Destructor. More...
 
MiNotificationoperator= (const MiNotification &rhs)
 Assignment operator. More...
 
void setSourceId (const UtlString &sourceId)
 Set the unique source identifier. More...
 
void setConnectionId (int connId)
 Set the connection ID that this notification is associated with. More...
 
void setStreamId (int streamId)
 Set the stream number inside the connection this notification is associated with. More...
 
NotfType getType (void) const
 Returns the type of the notification message. More...
 
UtlString getSourceId (void) const
 Get the unique source identifier. More...
 
int getConnectionId () const
 Get the connection ID that this message is associated with. More...
 
int getStreamId () const
 Get the stream number inside the connection this notification is associated with. More...
 

Private Attributes

UtlString mValue
 Reported value. More...
 

Additional Inherited Members

- Public Types inherited from MiNotification
enum  NotfType {
  MI_NOTF_MESSAGE_INVALID, MI_NOTF_PLAY_STARTED, MI_NOTF_PLAY_PAUSED, MI_NOTF_PLAY_RESUMED,
  MI_NOTF_PLAY_STOPPED, MI_NOTF_PLAY_FINISHED, MI_NOTF_PLAY_ERROR, MI_NOTF_PROGRESS,
  MI_NOTF_RECORD_STARTED, MI_NOTF_RECORD_PAUSED, MI_NOTF_RECORD_RESUMED, MI_NOTF_RECORD_STOPPED,
  MI_NOTF_RECORD_FINISHED, MI_NOTF_RECORD_ERROR, MI_NOTF_DTMF_RECEIVED, MI_NOTF_DELAY_SPEECH_STARTED,
  MI_NOTF_DELAY_NO_DELAY, MI_NOTF_DELAY_QUIESCENCE, MI_NOTF_RX_STREAM_ACTIVITY, MI_NOTF_ENERGY_LEVEL,
  MI_NOTF_VOICE_STARTED, MI_NOTF_VOICE_STOPPED, MI_NOTF_H264_SPS, MI_NOTF_H264_PPS,
  MI_NOTF_TONE_DETECT_ON, MI_NOTF_TONE_DETECT_OFF, MI_NOTF_RECORDER_CIRCULARBUFFER_WATERMARK_REACHED, MI_NOTF_INPUT_DEVICE_NOT_PRESENT,
  MI_NOTF_OUTPUT_DEVICE_NOT_PRESENT, MI_NOTF_INPUT_DEVICE_NOW_PRESENT, MI_NOTF_OUTPUT_DEVICE_NOW_PRESENT
}
 Media notification message types. More...
 
- Static Public Attributes inherited from MiNotification
static const int INVALID_CONNECTION_ID = -1
 Connection ID that indicates invalid connection or no connection. More...
 

Detailed Description

Message notification class used to communicate abstract integer value.

Constructor & Destructor Documentation

MiStringNotf ( NotfType  msgType,
const UtlString &  sourceId,
const UtlString &  value,
int  connectionId = INVALID_CONNECTION_ID,
int  streamId = -1 
)

Constructor.

MiStringNotf ( const MiStringNotf rNotf)

Copy constructor.

~MiStringNotf ( )
virtual

Destructor.

Member Function Documentation

OsMsg * createCopy ( void  ) const
virtual

Create a copy of this msg object (which may be of a derived type)

Reimplemented from MiNotification.

MiStringNotf & operator= ( const MiStringNotf rhs)

Assignment operator.

void setValue ( const UtlString &  value)

Set the value this notification reports.

void getValue ( UtlString &  value) const

Get the value this notification reports.

Member Data Documentation

UtlString mValue
private

Reported value.