replicode
Public Member Functions | Protected Member Functions | List of all members
mBrane::sdk::ConnectedCommChannel Class Reference

#include <network_interface.h>

Inheritance diagram for mBrane::sdk::ConnectedCommChannel:
Inheritance graph
Collaboration diagram for mBrane::sdk::ConnectedCommChannel:
Collaboration graph

Public Member Functions

virtual ~ConnectedCommChannel ()
 
- Public Member Functions inherited from mBrane::sdk::CommChannel
virtual ~CommChannel ()
 
virtual int16_t send (uint8_t *b, size_t s)=0
 
virtual int16_t recv (uint8_t *b, size_t s, bool peek=false)=0
 
virtual bool isConnected ()=0
 
virtual bool disconnect ()=0
 
int16_t bufferedSend (uint8_t *b, size_t s, bool sendNow=false)
 
int16_t send (_Payload *p, uint8_t destinationNID)
 
int16_t recv (_Payload **p, uint8_t sourceNID)
 

Protected Member Functions

 ConnectedCommChannel ()
 
- Protected Member Functions inherited from mBrane::sdk::CommChannel
 CommChannel ()
 
int16_t _send (__Payload *c, uint8_t destinationNID)
 
int16_t _recv (__Payload **c, uint8_t sourceNID)
 

Additional Inherited Members

- Protected Attributes inherited from mBrane::sdk::CommChannel
std::mutex commSendMutex
 
std::mutex commRecvMutex
 
uint8_tsendBuffer
 
uint32_t sendBufferLen
 
uint32_t sendBufferPos
 

Constructor & Destructor Documentation

mBrane::sdk::ConnectedCommChannel::ConnectedCommChannel ( )
protected
mBrane::sdk::ConnectedCommChannel::~ConnectedCommChannel ( )
virtual

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