projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Automate examples SConscript regarding pName
[anna.git]
/
example
/
timex
/
ArithmeticHTTPServer
/
Context.cpp
diff --git
a/example/timex/ArithmeticHTTPServer/Context.cpp
b/example/timex/ArithmeticHTTPServer/Context.cpp
index
21e6eb1
..
f610b00
100644
(file)
--- a/
example/timex/ArithmeticHTTPServer/Context.cpp
+++ b/
example/timex/ArithmeticHTTPServer/Context.cpp
@@
-1,4
+1,4
@@
-// ANNA - Anna is Not
'N'
Anymore
+// ANNA - Anna is Not
Nothingness
Anymore
//
// (c) Copyright 2005-2014 Eduardo Ramos Testillano & Francisco Ruiz Rayo
//
//
// (c) Copyright 2005-2014 Eduardo Ramos Testillano & Francisco Ruiz Rayo
//
@@
-49,13
+49,13
@@
using namespace anna;
using namespace test;
http4comm::Context::Context (timex::Engine& timeController, const Millisecond& timeout) :
using namespace test;
http4comm::Context::Context (timex::Engine& timeController, const Millisecond& timeout) :
- timex::Context<
Integer
64> ("http4comm", timeController, timeout)
+ timex::Context<
S
64> ("http4comm", timeController, timeout)
{;}
{;}
-void http4comm::Context::create (const
Integer
64 id, comm::ClientSocket& clientSocket)
+void http4comm::Context::create (const
S
64 id, comm::ClientSocket& clientSocket)
throw (RuntimeException)
{
throw (RuntimeException)
{
- http4comm::Transaction* transaction = static_cast <http4comm::Transaction*> (timex::Context <
Integer
64>::open (id, 0));
+ http4comm::Transaction* transaction = static_cast <http4comm::Transaction*> (timex::Context <
S
64>::open (id, 0));
transaction->setClientSocket (&clientSocket);
transaction->setClientSocket (&clientSocket);
@@
-96,7
+96,7
@@
void http4comm::Context::releaseTransaction (timex::Transaction* tt)
/**
* Interpreta el identificador de la transación como cadena
*/
/**
* Interpreta el identificador de la transación como cadena
*/
-string http4comm::Context::identifierAsString (const
Integer
64& id) const
+string http4comm::Context::identifierAsString (const
S
64& id) const
throw ()
{
return functions::asHexString (id);
throw ()
{
return functions::asHexString (id);
@@
-105,8
+105,8
@@
string http4comm::Context::identifierAsString (const Integer64& id) const
/*
* Interpreta el contexto de la transación para obtener su Id de aplicación.
*/
/*
* Interpreta el contexto de la transación para obtener su Id de aplicación.
*/
-const
Integer
64& http4comm::Context::contextAsIdentifier (const void* cc) const
+const
S
64& http4comm::Context::contextAsIdentifier (const void* cc) const
throw ()
{
throw ()
{
- return *((
Integer
64*) cc);
+ return *((
S
64*) cc);
}
}