COVISE Core
Public Member Functions | Protected Member Functions | List of all members
covise::MessageSenderInterface Class Referenceabstract

#include <message_sender_interface.h>

Inheritance diagram for covise::MessageSenderInterface:
Inheritance graph
[legend]

Public Member Functions

 MessageSenderInterface ()=default
 
virtual ~MessageSenderInterface ()=default
 
bool send (const covise::MessageBase *msg) const
 
bool send (const covise::Message *msg) const
 
bool send (const UdpMessage *msg) const
 
bool send (covise::TokenBuffer &tb, int type, Protocol p=Protocol::TCP) const
 

Protected Member Functions

virtual bool sendMessage (const covise::Message *msg) const =0
 
virtual bool sendMessage (const UdpMessage *msg) const =0
 

Constructor & Destructor Documentation

◆ MessageSenderInterface()

covise::MessageSenderInterface::MessageSenderInterface ( )
default

◆ ~MessageSenderInterface()

virtual covise::MessageSenderInterface::~MessageSenderInterface ( )
virtualdefault

Member Function Documentation

◆ send() [1/4]

bool MessageSenderInterface::send ( const covise::Message msg) const

◆ send() [2/4]

bool MessageSenderInterface::send ( const covise::MessageBase msg) const

◆ send() [3/4]

bool MessageSenderInterface::send ( const UdpMessage msg) const

◆ send() [4/4]

bool MessageSenderInterface::send ( covise::TokenBuffer tb,
int  type,
Protocol  p = Protocol::TCP 
) const

◆ sendMessage() [1/2]

virtual bool covise::MessageSenderInterface::sendMessage ( const covise::Message msg) const
protectedpure virtual

Implemented in covise::Connection.

◆ sendMessage() [2/2]

virtual bool covise::MessageSenderInterface::sendMessage ( const UdpMessage msg) const
protectedpure virtual

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