#include <unistd.h>
#include <errno.h>
#include "dtn_api.h"
#include "TcaController.h"
Go to the source code of this file.
Functions | |
bool | make_spec (dtn_bundle_spec_t &spec, std::string source, std::string dest, std::string replyto, int expiration, dtn_bundle_priority_t priority=COS_NORMAL, dtn_bundle_delivery_opts_t dopts=DOPTS_NONE) |
static bool | check_nargs (const dtn::TcaControlBundle &cb, uint n_expected) |
Variables | |
static const int | debug = 1 |
static const int | RECV_TIMEOUT = 30000 |
static const u_int32_t | REG_EXPIRATION_TIME = 2000000 |
static bool check_nargs | ( | const dtn::TcaControlBundle & | cb, | |
uint | n_expected | |||
) | [static] |
Definition at line 95 of file TcaController.cc.
References dtn::TcaControlBundle::args_, and dtn::TcaControlBundle::str().
Referenced by TcaController::handle_link_announce(), and TcaController::route_reg().
bool make_spec | ( | dtn_bundle_spec_t & | spec, | |
std::string | source, | |||
std::string | dest, | |||
std::string | replyto, | |||
int | expiration, | |||
dtn_bundle_priority_t | priority = COS_NORMAL , |
|||
dtn_bundle_delivery_opts_t | dopts = DOPTS_NONE | |||
) |
Definition at line 54 of file TcaController.cc.
References dtn_bundle_spec_t::dest, dtn_bundle_spec_t::dopts, dtn_parse_eid_string(), dtn_bundle_spec_t::expiration, priority, dtn_bundle_spec_t::priority, dtn_bundle_spec_t::replyto, and dtn_bundle_spec_t::source.
Referenced by TcaController::gate_reg().
const int debug = 1 [static] |
Definition at line 33 of file TcaController.cc.
const int RECV_TIMEOUT = 30000 [static] |
Definition at line 38 of file TcaController.cc.
Referenced by TcaController::run().
const u_int32_t REG_EXPIRATION_TIME = 2000000 [static] |
Definition at line 47 of file TcaController.cc.
Referenced by TcaController::dtn_reg().