|
xorp
|
Class for buffering and dispatching XRLs. More...
#include <common.hh>
Public Types | |
| typedef ref_ptr< XrlJobBase > | Job |
Public Member Functions | |
| XrlJobQueue (EventLoop &e, const string &finder_host, uint16_t finder_port, const string &tgtname) | |
| Xrl Job Queue. | |
| int | startup () |
| Start service. | |
| int | shutdown () |
| Shutdown service. | |
| void | dispatch_complete (const XrlError &xe, const XrlJobBase *cmd) |
| XrlSender * | sender () |
| const string & | target () const |
| void | enqueue (const Job &cmd) |
Protected Member Functions | |
| bool | xrl_router_ready_poll () |
| void | process_next_job () |
Protected Attributes | |
| EventLoop & | _e |
| string | _fhost |
| uint16_t | _fport |
| string | _tgt |
| list< Job > | _jobs |
| XrlStdRouter * | _rtr |
| XorpTimer | _rtr_poll |
| uint32_t | _rtr_poll_cnt |
Class for buffering and dispatching XRLs.
| int XrlJobQueue::shutdown | ( | ) | [virtual] |
Shutdown service.
Service should transition from SERVICE_RUNNING to SERVICE_SHUTTING_DOWN immediately and onto SERVICE_SHUTDOWN or SERVICE_FAILED in the near future.
Implements ServiceBase.
| int XrlJobQueue::startup | ( | ) | [virtual] |
Start service.
Service should transition from SERVICE_READY to SERVICE_STARTING immediately and onto SERVICE_RUNNING or SERVICE_FAILED in the near future.
Implements ServiceBase.