|
@@ -15,14 +15,16 @@
|
|
#ifndef ISC_SESSION_H
|
|
#ifndef ISC_SESSION_H
|
|
#define ISC_SESSION_H 1
|
|
#define ISC_SESSION_H 1
|
|
|
|
|
|
-#include <string>
|
|
|
|
|
|
+#include <cc/data.h>
|
|
|
|
+#include <cc/session_config.h>
|
|
|
|
|
|
-#include <boost/function.hpp>
|
|
|
|
|
|
+#include <util/common_defs.h>
|
|
|
|
|
|
#include <exceptions/exceptions.h>
|
|
#include <exceptions/exceptions.h>
|
|
|
|
|
|
-#include <cc/data.h>
|
|
|
|
-#include <cc/session_config.h>
|
|
|
|
|
|
+#include <string>
|
|
|
|
+
|
|
|
|
+#include <boost/function.hpp>
|
|
|
|
|
|
namespace asio {
|
|
namespace asio {
|
|
class io_service;
|
|
class io_service;
|
|
@@ -81,8 +83,10 @@ namespace isc {
|
|
virtual void disconnect() = 0;
|
|
virtual void disconnect() = 0;
|
|
virtual int group_sendmsg(isc::data::ConstElementPtr msg,
|
|
virtual int group_sendmsg(isc::data::ConstElementPtr msg,
|
|
std::string group,
|
|
std::string group,
|
|
- std::string instance = "*",
|
|
|
|
- std::string to = "*",
|
|
|
|
|
|
+ std::string instance =
|
|
|
|
+ isc::util::CC_INSTANCE_WILDCARD,
|
|
|
|
+ std::string to =
|
|
|
|
+ isc::util::CC_TO_WILDCARD,
|
|
bool want_answer = false) = 0;
|
|
bool want_answer = false) = 0;
|
|
virtual bool group_recvmsg(isc::data::ConstElementPtr& envelope,
|
|
virtual bool group_recvmsg(isc::data::ConstElementPtr& envelope,
|
|
isc::data::ConstElementPtr& msg,
|
|
isc::data::ConstElementPtr& msg,
|