#include <wait-queue.h>
Inheritance diagram for ns3::WaitQueueEntryTimeout:
Collaboration diagram for ns3::WaitQueueEntryTimeout:Public Member Functions | |
| WaitQueueEntryTimeout (short eventMask, Time timeout) | |
| WaitPoint::Result | Wait () |
| virtual void | WakeUp (void *key) |
Public Member Functions inherited from ns3::WaitQueueEntry | |
| WaitQueueEntry () | |
Public Member Functions inherited from ns3::WaitPoint | |
| WaitPoint () | |
| WaitPoint::Result | Wait (Time to) |
| void | WakeUpCallback () |
Private Attributes | |
| short | m_eventMask |
| Time | m_lastTime |
| Thread * | m_waitTask |
Additional Inherited Members | |
Public Types inherited from ns3::WaitPoint | |
| enum | Result { INTERRUPTED, TIMEOUT, OK } |
Generic wait queue entry joined with a waitpoint
Definition at line 173 of file wait-queue.h.
| ns3::WaitQueueEntryTimeout::WaitQueueEntryTimeout | ( | short | eventMask, |
| Time | timeout | ||
| ) |
Definition at line 182 of file wait-queue.cc.
References m_lastTime.
| WaitPoint::Result ns3::WaitQueueEntryTimeout::Wait | ( | void | ) |
Definition at line 206 of file wait-queue.cc.
References m_lastTime, and ns3::WaitPoint::TIMEOUT.
Referenced by ns3::UnixStreamSocketFd::Accept(), ns3::LocalStreamSocketFd::Accept(), ns3::UnixStreamSocketFd::Connect(), ns3::LocalStreamSocketFd::Connect(), ns3::PipeFd::DoRecvPacket(), ns3::UnixStreamSocketFd::DoSendmsg(), ns3::PipeFd::Read(), ns3::LocalStreamSocketFd::Read(), ns3::LocalDatagramSocketFd::Read(), ns3::LocalDatagramSocketFd::Sendmsg(), ns3::UnixSocketFd::WaitRecvDoSignal(), and ns3::LocalStreamSocketFd::Write().
Here is the caller graph for this function:
|
virtual |
Implements ns3::WaitQueueEntry.
Definition at line 196 of file wait-queue.cc.
References m_eventMask, and ns3::WaitPoint::WakeUpCallback().
Here is the call graph for this function:
|
private |
Definition at line 183 of file wait-queue.h.
Referenced by WakeUp().
|
private |
Definition at line 184 of file wait-queue.h.
Referenced by Wait(), and WaitQueueEntryTimeout().
|
private |
Definition at line 182 of file wait-queue.h.