}
int comm::SureTransport::calculeSize(const DataBlock& dataBlock)
-throw(RuntimeException) {
+noexcept(false) {
const char* buffer = dataBlock.getData();
int result = -1;
// (1) Transfiere la referencia de message al cuerpo del mensaje. Ojo!! tampoco hace copia.
//-------------------------------------------------------------------------------------------
const comm::Message* comm::SureTransport::decode(const DataBlock& message)
-throw(RuntimeException) {
+noexcept(false) {
const int totalSize = message.getSize();
if(totalSize < headerSize)
// Etiquta de comienzo 0xaaaa + short (<longitud ttal>) + datos
//---------------------------------------------------------------------------
const DataBlock& comm::SureTransport::code(comm::Message& message)
-throw(RuntimeException) {
+noexcept(false) {
char aux [sizeof(int)];
const DataBlock& data = message.code();
a_forCode = a_precodec;