using namespace test;
http4comm::Context::Context (timex::Engine& timeController, const Millisecond& timeout) :
- timex::Context<Integer64> ("http4comm", timeController, timeout)
+ timex::Context<S64> ("http4comm", timeController, timeout)
{;}
-void http4comm::Context::create (const Integer64 id, comm::ClientSocket& clientSocket)
+void http4comm::Context::create (const S64 id, comm::ClientSocket& clientSocket)
throw (RuntimeException)
{
- http4comm::Transaction* transaction = static_cast <http4comm::Transaction*> (timex::Context <Integer64>::open (id, 0));
+ http4comm::Transaction* transaction = static_cast <http4comm::Transaction*> (timex::Context <S64>::open (id, 0));
transaction->setClientSocket (&clientSocket);
/**
* Interpreta el identificador de la transación como cadena
*/
-string http4comm::Context::identifierAsString (const Integer64& id) const
+string http4comm::Context::identifierAsString (const S64& id) const
throw ()
{
return functions::asHexString (id);
/*
* Interpreta el contexto de la transación para obtener su Id de aplicación.
*/
-const Integer64& http4comm::Context::contextAsIdentifier (const void* cc) const
+const S64& http4comm::Context::contextAsIdentifier (const void* cc) const
throw ()
{
- return *((Integer64*) cc);
+ return *((S64*) cc);
}