17 #ifndef ABSTRACTKAATRANSPORT_HPP_
18 #define ABSTRACTKAATRANSPORT_HPP_
28 template <TransportType Type>
44 throw KaaException(
"Cannot find appropriate channel");
50 getChannel(transportType)->
sync(transportType);
60 getChannel(transportType)->
syncAck(transportType);
virtual void syncAck(TransportType type)=0
const TransportType type_
AbstractKaaTransport(IKaaChannelManager &channelManager, IKaaClientContext &context)
virtual void sync(TransportType type)=0
virtual IDataChannelPtr getChannelByTransportType(TransportType type)=0
void syncAck(TransportType transportType=Type)
IKaaChannelManager & channelManager_
virtual ~AbstractKaaTransport()
void syncByType(TransportType transportType=Type)
IKaaClientContext & context_