#include <commandCache.h>
The packets are copied and can therefore be retained in the queues.
Definition at line 23 of file commandCache.h.
Public Member Functions | |
| Command * | alloc (Command &command) |
| Create a new command. | |
| void | release (Command *command) |
| Release a command. | |
| void | flush () |
| Flush all released commands. | |
| bool | empty () const |
Create a new command.
| command | the input command. |
Definition at line 36 of file commandCache.cpp.
References eq::net::Command::swap().
Referenced by eq::net::CommandQueue::push(), and eq::net::CommandQueue::pushFront().
| void eq::net::CommandCache::release | ( | Command * | command | ) |
Release a command.
| command | the command. |
Definition at line 52 of file commandCache.cpp.
References eq::net::Command::allocate(), eq::net::Command::isValid(), and eq::net::Command::release().
Referenced by eq::net::CommandQueue::flush(), and eq::net::CommandQueue::release().
| void eq::net::CommandCache::flush | ( | ) |
Flush all released commands.
Definition at line 25 of file commandCache.cpp.
Referenced by eq::net::CommandQueue::flush().
0.6 by
1.5.5