YansCoreNS::MessageSentEvent Class Reference

Denotes the act of sending a message in the network. More...

Inheritance diagram for YansCoreNS::MessageSentEvent:

YansCoreNS::Event

List of all members.

Public Member Functions

NetworkMessage const & GetMessage (void) const
 Returns the message associated with this event.
TopologyNS::UID const & GetSenderUID (void) const
 Returns the UID of the node sending the message.
 MessageSentEvent (TopologyNS::UID const &senderUID, NetworkMessage const &message)
 Constructor.
virtual ~MessageSentEvent (void)
 Destructor.


Detailed Description

Denotes the act of sending a message in the network.

Note:
This event should not be distributed to nodes and services.

Constructor & Destructor Documentation

YansCoreNS::MessageSentEvent::MessageSentEvent ( TopologyNS::UID const &  senderUID,
NetworkMessage const &  message 
) [explicit]

Constructor.

Parameters:
[in] senderUID The UID of the node sending the message.
[in] message The message being sent.

virtual YansCoreNS::MessageSentEvent::~MessageSentEvent ( void   )  [virtual]

Destructor.


Member Function Documentation

NetworkMessage const& YansCoreNS::MessageSentEvent::GetMessage ( void   )  const

Returns the message associated with this event.

Returns:
The message assoaciated with this event.

TopologyNS::UID const& YansCoreNS::MessageSentEvent::GetSenderUID ( void   )  const

Returns the UID of the node sending the message.

Returns:
The UID of the node sendin the message.


Generated on Sat May 2 19:18:06 2009 for Yans - Yet another network simulator by  doxygen 1.5.8