sipxmedialib
Version 3.3
|
Message notification object used to send an abstract integer. More...
#include <MprnIntMsg.h>
Public Member Functions | |
Creators | |
MprnIntMsg (MpResNotificationMsg::RNMsgType msgType, const UtlString &namedResOriginator, int value, MpConnectionID connId=MP_INVALID_CONNECTION_ID, int streamId=-1) | |
Constructor. More... | |
MprnIntMsg (const MprnIntMsg &rMsg) | |
Copy constructor. More... | |
virtual OsMsg * | createCopy () const |
Create a copy of this msg object (which may be of a derived type) More... | |
virtual | ~MprnIntMsg () |
Destructor. More... | |
Manipulators | |
MprnIntMsg & | operator= (const MprnIntMsg &rhs) |
Assignment operator. More... | |
void | setValue (int value) |
Set the value this notification reports. More... | |
Accessors | |
int | getValue () const |
Get the value this notification reports. More... | |
Public Member Functions inherited from MpResNotificationMsg | |
MpResNotificationMsg (RNMsgType msgType, const UtlString &namedResOriginator, MpConnectionID connId=MP_INVALID_CONNECTION_ID, int streamId=-1) | |
Constructor. More... | |
MpResNotificationMsg (const MpResNotificationMsg &rMpResNotifyMsg) | |
Copy constructor. More... | |
virtual | ~MpResNotificationMsg () |
Destructor. More... | |
MpResNotificationMsg & | operator= (const MpResNotificationMsg &rhs) |
Assignment operator. More... | |
void | setOriginatingResourceName (const UtlString &resOriginator) |
Set the name of the resource this message applies to. More... | |
void | setConnectionId (MpConnectionID 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... | |
int | getMsg () const |
Returns the type of the media resource notification message. More... | |
UtlString | getOriginatingResourceName () const |
Get the name of the resource that originated this message. More... | |
MpConnectionID | 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 | |
int | mValue |
Reported value. More... | |
Message notification object used to send an abstract integer.
MprnIntMsg | ( | MpResNotificationMsg::RNMsgType | msgType, |
const UtlString & | namedResOriginator, | ||
int | value, | ||
MpConnectionID | connId = MP_INVALID_CONNECTION_ID , |
||
int | streamId = -1 |
||
) |
Constructor.
MprnIntMsg | ( | const MprnIntMsg & | rMsg | ) |
Copy constructor.
|
virtual |
Destructor.
|
virtual |
Create a copy of this msg object (which may be of a derived type)
Reimplemented from MpResNotificationMsg.
MprnIntMsg & operator= | ( | const MprnIntMsg & | rhs | ) |
Assignment operator.
void setValue | ( | int | value | ) |
Set the value this notification reports.
int getValue | ( | ) | const |
Get the value this notification reports.
|
private |
Reported value.