25 class DtMessageHandler;
65 static void destroy();
74 unsigned char * reusableSendMsgBuffer);
77 void tick(
double maxTime);
83 void receiveMessage(
unsigned char* msg,
int length);
98 virtual bool hasResource(
const std::string& name)
const;
101 virtual void* findResource(
const std::string& name )
const;
104 virtual void setResource(
const std::string& name,
void* asset);
107 virtual bool removeResource(
const std::string& name);
112 virtual void addHandler(
const std::string& messageType,
DtMessageDelegate* handler);
113 virtual void removeHandler(
const std::string& messageType,
DtMessageDelegate* handler);
119 virtual void removeStrategy(
const std::string& name);
125 virtual void addStrategyCreator(
const std::string& name,
StrategyCreator creator);
134 virtual std::set<DtProtocolType> availableProtocols();
141 virtual void handlePrintMessage(
DtMessage* msg);
143 virtual void handleNotifyLevelMessage(
DtMessage* msg);
145 virtual void loadLibraries();
147 virtual bool checkLibrariesLoaded(
const std::list<std::string>& files, std::set<DtProtocolType>& availableProtocol,
bool shouldThrow=
false);
166 typedef std::multimap<std::string, DtMessageDelegate*>
HandlerMap;