Go to the documentation of this file.
18 #ifndef __LIBIPC_CHANNELREGISTRY_H
19 #define __LIBIPC_CHANNELREGISTRY_H
Unidirectional point-to-point messaging channel.
u32 ProcessID
Process Identification Number.
HashTable< ProcessID, Channel * > m_consumer
Contains registered consumer channels.
Channel * getConsumer(const ProcessID pid)
Get one consumer.
Result registerConsumer(const ProcessID pid, Channel *channel)
Register consumer channel.
virtual ~ChannelRegistry()
Destructor.
HashTable< ProcessID, Channel * > & getConsumers()
Get all consumers.
HashTable< ProcessID, Channel * > m_producer
Contains registered producer channels.
Result registerProducer(const ProcessID pid, Channel *channel)
Register producer channel.
Result unregisterProducer(const ProcessID pid)
Unregister producer channel.
Registration for Channels.
ChannelRegistry()
Constructor.
Channel * getProducer(const ProcessID pid)
Get one producer.
Result unregisterConsumer(const ProcessID pid)
Unregister consumer channel.
HashTable< ProcessID, Channel * > & getProducers()
Get all producers.