sipxmediaadapterlib
Version 3.3
|
Message notification class used to communicate DTMF signaling. More...
#include <MiProgressNotf.h>
Public Member Functions | |
Creators | |
MiProgressNotf (const UtlString &sourceId, unsigned posMS, unsigned totalMS) | |
Constructor. More... | |
MiProgressNotf (const MiProgressNotf &rNotf) | |
Copy constructor. More... | |
virtual OsMsg * | createCopy (void) const |
Create a copy of this msg object (which may be of a derived type) More... | |
virtual | ~MiProgressNotf () |
Destructor. More... | |
Manipulators | |
MiProgressNotf & | operator= (const MiProgressNotf &rhs) |
Assignment operator. More... | |
void | setPositionMS (unsigned posMS) |
Set the position in milliseconds this message reports. More... | |
void | setTotalMS (unsigned totalMS) |
Set the total size of the buffer in milliseconds this message reports. More... | |
Accessors | |
unsigned | getPositionMS (void) const |
Get the current reported position of this progress update in MS. More... | |
unsigned | getTotalMS (void) const |
Get the total size of the buffer in milliseconds this message 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... | |
MiNotification & | operator= (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 | |
unsigned | mCurPositionMS |
current position reported, in milliseconds. More... | |
unsigned | mTotalMS |
Total size in milliseconds. More... | |
Message notification class used to communicate DTMF signaling.
MiProgressNotf | ( | const UtlString & | sourceId, |
unsigned | posMS, | ||
unsigned | totalMS | ||
) |
Constructor.
MiProgressNotf | ( | const MiProgressNotf & | rNotf | ) |
Copy constructor.
|
virtual |
Destructor.
|
virtual |
Create a copy of this msg object (which may be of a derived type)
Reimplemented from MiNotification.
MiProgressNotf & operator= | ( | const MiProgressNotf & | rhs | ) |
Assignment operator.
void setPositionMS | ( | unsigned | posMS | ) |
Set the position in milliseconds this message reports.
void setTotalMS | ( | unsigned | totalMS | ) |
Set the total size of the buffer in milliseconds this message reports.
unsigned getPositionMS | ( | void | ) | const |
Get the current reported position of this progress update in MS.
unsigned getTotalMS | ( | void | ) | const |
Get the total size of the buffer in milliseconds this message reports.
|
private |
current position reported, in milliseconds.
|
private |
Total size in milliseconds.