1
#if !defined(P2PStack_hxx)
4
#include "p2p/Profile.hxx"
5
#include "p2p/Dispatcher.hxx"
6
#include "p2p/ChordTopology.hxx"
7
#include "p2p/SelectTransporter.hxx"
8
#include "p2p/ForwardingLayer.hxx"
16
P2PStack(const Profile& profile);
18
void run(); // this never returns
19
void process(int waitTimeMS); // run a time slice and return
21
void listenOn(int port);
24
ResourceId getIdFromResourceName( const resip::Data& resourceName );
30
Dispatcher mDispatcher;
31
SelectTransporter mTransporter;
32
ChordTopology mChord; // TODO - this needs to be changed to a Topology
34
ForwardingLayer mForwarder;