APIServer.cc File Reference

#include <algorithm>
#include <sys/types.h>
#include <sys/stat.h>
#include <oasys/compat/inet_aton.h>
#include <oasys/compat/rpc.h>
#include <oasys/io/FileIOClient.h>
#include <oasys/io/NetUtils.h>
#include <oasys/util/Pointers.h>
#include <oasys/util/ScratchBuffer.h>
#include <oasys/util/XDRUtils.h>
#include "APIServer.h"
#include <list>
#include <oasys/debug/Log.h>
#include <oasys/thread/Thread.h>
#include <oasys/thread/SpinLock.h>
#include <oasys/io/TCPClient.h>
#include <oasys/io/TCPServer.h>
#include "dtn_api.h"
#include <rpc/rpc.h>
#include "dtn_types.h"
#include "bundling/APIBlockProcessor.h"
#include "bundling/Bundle.h"
#include "bundling/BundleEvent.h"
#include "bundling/BundleDaemon.h"
#include "bundling/BundleStatusReport.h"
#include "bundling/SDNV.h"
#include "bundling/GbofId.h"
#include "naming/EndpointID.h"
#include "cmd/APICommand.h"
#include "reg/APIRegistration.h"
#include "reg/RegistrationTable.h"
#include "routing/BundleRouter.h"
#include "storage/GlobalStore.h"
#include "session/Session.h"

Go to the source code of this file.

Namespaces

namespace  dtn
 

Namespace for the dtn daemon source code.


Defines

#define MIN(x, y)   ((x)<(y) ? (x) : (y))
#define MAX_SPIN_TIME   (5 * 1000000)
#define EACH_SPIN_TIME   10000
#define DISPATCH(_type, _fn)
#define COS(_cos)   case _cos: b->set_priority(Bundle::_cos); break;
#define DTN_FILE_DELIVERY_BUF_SIZE   1000

Define Documentation

#define COS ( _cos   )     case _cos: b->set_priority(Bundle::_cos); break;
#define DISPATCH ( _type,
_fn   ) 
Value:
case _type:                             \
            ret = _fn();                        \
            break;

Referenced by dtn::APIClient::run().

#define DTN_FILE_DELIVERY_BUF_SIZE   1000

Definition at line 1183 of file APIServer.cc.

#define EACH_SPIN_TIME   10000
#define MAX_SPIN_TIME   (5 * 1000000)
#define MIN ( x,
 )     ((x)<(y) ? (x) : (y))

Definition at line 50 of file APIServer.cc.

Referenced by fill_payload().

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