TcaController.cc File Reference

#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

Function Documentation

static bool check_nargs ( const dtn::TcaControlBundle cb,
uint  n_expected 
) [static]
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 
)

Variable Documentation

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().

Generated on Sun Nov 21 13:21:01 2010 for DTN Reference Implementation by  doxygen 1.6.3