1 #include <rms/provider/LocalhostConnection.h> 22 const int applicationPartition) {
27 if (gethostname(hostname, 31) == 0) {
53 boost::shared_ptr<std::string> messagePtr (
new std::string(messageString));
72 const base::RmsMessage&
message) {
void setDestination(base::RmsDestination dest)
void addListener(const base::RmsDestination &dest, ProviderListener *listener)
util::UUIDGenerator * _uuidGenerator
void removeListener(const base::RmsDestination &dest, ProviderListener *listener)
base::RmsDestination _messageSource
bool supportsDestination(const base::RmsDestination &candidateDestination)
base::RmsDestination getDestination()
void setListener(ProviderListener *listener)
ProviderListener * getListener()
static const std::string TARGET_PROPERTY_NAME
bool ping(const base::RmsDestination &pingDestination)
void sendMessage(const base::RmsDestination &dest, const base::RmsMessage &message)
LocalhostConnection(const std::string applicationName, const int applicationPartition)
std::vector< ListenerContainer > _destinationList
void sendString(const base::RmsDestination &dest, const std::string &messageString)
virtual void textReceived(boost::shared_ptr< std::string > messageText)=0