22 #ifndef __M2ETIS_PUBSUB_CHANNELINTERFACE_H__
23 #define __M2ETIS_PUBSUB_CHANNELINTERFACE_H__
37 class BasicDeliverCallbackInterface;
46 template<
class EventType>
84 virtual std::string
getSelf()
const = 0;
virtual void subscribe(BasicDeliverCallbackInterface< EventType > &callback, boost::shared_ptr< filter::FilterExp< EventType > >)=0
subscribes to the channel
boost::shared_ptr< M2Message< EventType > > Ptr
virtual ~BasicChannelInterface()
Destructor.
virtual void unsubscribe()=0
virtual ChannelName getChannel() const =0
Gets a identification of the channel.
virtual message::M2Message< EventType >::Ptr createMessage() const =0
virtual std::string getSelf() const =0
BasicChannelInterface< std::vector< unsigned char > > ChannelInterface
virtual void publish(const typename message::M2Message< EventType >::Ptr msg)=0
publishes a message on the channel