Remove core-comm dependency through CounterManager/timex in core/oam subsystem. Basic...
[anna.git] / example / timex / ArithmeticHTTPServer / Context.hpp
index aee3338..ba1c652 100644 (file)
@@ -53,11 +53,11 @@ class Transaction;
 
 using namespace anna;
 
-class Context : public timex::Context <Integer64> {
+class Context : public timex::Context <S64> {
 public:
    Context (timex::Engine&, const Millisecond& timeout);
    
-   void create (const Integer64 id, comm::ClientSocket&) throw (RuntimeException);
+   void create (const S64 id, comm::ClientSocket&) throw (RuntimeException);
    void destroy (Transaction*) throw ();
 
 private:
@@ -66,8 +66,8 @@ private:
    timex::Transaction* createTransaction (const int /*classType*/) throw ();
    void releaseTransaction (timex::Transaction* tt) throw ();
 
-   std::string identifierAsString (const Integer64&) const throw ();
-   const Integer64& contextAsIdentifier (const void*) const throw ();
+   std::string identifierAsString (const S64&) const throw ();
+   const S64& contextAsIdentifier (const void*) const throw ();
    
    Context (const Context&);
 };