00001 #ifndef BOOST_RPC_FUNCTION_HPP
00002 #define BOOST_RPC_FUNCTION_HPP
00003
00004 #include <boost/rpc/binary_archive.hpp>
00005 #include <boost/rpc/call_options.hpp>
00006 #include <sstream>
00007
00008 namespace boost {
00009 namespace rpc {
00010 namespace detail {
00011
00012 template<typename ArchivePair = binary_archive>
00013 class function
00014 {
00015 public:
00016 virtual void call(const boost::rpc::call_options &options,
00017 typename ArchivePair::iarchive_type ¶ms,
00018 typename ArchivePair::oarchive_type *results = 0) {};
00019 virtual ~function() {}
00020 };
00021
00022 }
00023 }
00024 }
00025
00026 #endif // BOOST_RPC_FUNCTION_HPP