#include "config.h"#include "ibrdtn/api/Client.h"#include "ibrdtn/api/FileBundle.h"#include "ibrcommon/net/tcpclient.h"#include "ibrcommon/thread/Mutex.h"#include "ibrcommon/thread/MutexLock.h"#include <csignal>#include <sys/types.h>#include <iostream>Go to the source code of this file.
Functions | |
| void | print_help () |
| void | writeBundle (bool stdout, string filename, dtn::api::Bundle &b) |
| void | term (int signal) |
| int | main (int argc, char *argv[]) |
Variables | |
| dtn::api::Client * | _client = NULL |
| ibrcommon::tcpclient * | _conn = NULL |
| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
Definition at line 74 of file dtnrecv.cpp.
References ibrcommon::tcpstream::close(), dtn::api::Client::close(), dtn::api::Client::connect(), dtn::api::Client::getBundle(), print_help(), term(), and writeBundle().
| void print_help | ( | ) |
Definition at line 19 of file dtnrecv.cpp.
| void term | ( | int | signal | ) |
Definition at line 61 of file dtnrecv.cpp.
References ibrcommon::tcpstream::close(), and dtn::api::Client::close().
| void writeBundle | ( | bool | stdout, | |
| string | filename, | |||
| dtn::api::Bundle & | b | |||
| ) |
Definition at line 32 of file dtnrecv.cpp.
References dtn::api::Bundle::getData().
Referenced by main().
| dtn::api::Client* _client = NULL |
Definition at line 58 of file dtnrecv.cpp.
| ibrcommon::tcpclient* _conn = NULL |
Definition at line 59 of file dtnrecv.cpp.
1.6.3