ANNA Suite  2020b
Multipurpose development suite for Telco applications
Public Member Functions | Static Public Member Functions | Static Public Attributes | Friends | List of all members
anna::comm::LiteTransport Class Reference

#include <LiteTransport.hpp>

Inheritance diagram for anna::comm::LiteTransport:
Inheritance graph
[legend]
Collaboration diagram for anna::comm::LiteTransport:
Collaboration graph
[legend]

Public Member Functions

virtual ~LiteTransport ()
 
- Public Member Functions inherited from anna::comm::Transport
 WHEN_SINGLETHREAD (static const int DefaultOverQuotaSize=2048;) WHEN_MULTITHREAD(static const int DefaultOverQuotaSize
 
bool enableTimeout () const
 
void activateTimeout ()
 
void deactivateTimeout ()
 
MessagegetInputMessage () noexcept(false)
 
int getOverQuotaSize () const
 
void setOverQuotaSize (const int overQuotaSize)
 
virtual void clear ()
 

Static Public Member Functions

static const char * className ()
 
static TransportFactorygetFactory ()
 

Static Public Attributes

static const int headerSize = sizeof(short int)
 

Friends

class anna::Allocator< LiteTransport >
 

Additional Inherited Members

- Protected Member Functions inherited from anna::comm::Transport
 Transport ()
 
void setInputMessage (Message *inputMessage)
 
- Protected Attributes inherited from anna::comm::Transport
DataBlock a_forCode
 

Detailed Description

Protocol oriented to internal network messages interchange, supposing no errors in transmision and short-sized messages which allows length representation in only two bytes. No synchronization mechanisms are provided, then a single error could cause problems in our process.

Warning
Encode mode does not provide enough information to allow re-synchronization in case of error
See also
Transport.

Constructor & Destructor Documentation

◆ ~LiteTransport()

virtual anna::comm::LiteTransport::~LiteTransport ( )
virtual

Destructor.

Member Function Documentation

◆ className()

static const char* anna::comm::LiteTransport::className ( )
inlinestatic

Returns the class name literal.

Returns
class name literal.
42 { return "anna::comm::LiteTransport"; }

◆ getFactory()

static TransportFactory& anna::comm::LiteTransport::getFactory ( )
inlinestatic

Returns the transport factory associated to this class

Returns
transport factory associated to this class
48 { return st_transportFactory; }

Friends And Related Function Documentation

◆ anna::Allocator< LiteTransport >

friend class anna::Allocator< LiteTransport >
friend

Member Data Documentation

◆ headerSize

const int anna::comm::LiteTransport::headerSize = sizeof(short int)
static

Tamao de la cabezera del mensaje


The documentation for this class was generated from the following file: