47 #include <sys/socket.h>
52 #include <activemq/core/ActiveMQConnectionFactory.h>
61 const std::string CommandEvent::ORIG_HOSTNAME =
"ORIG_HOSTNAME";
62 const std::string CommandEvent::ORIG_PROCESSID =
"ORIG_PROCESSID";
63 const std::string CommandEvent::ORIG_LOCALID =
"ORIG_LOCALID";
65 const std::string CommandEvent::DEST_HOSTNAME =
"DEST_HOSTNAME";
66 const std::string CommandEvent::DEST_PROCESSID =
"DEST_PROCESSID";
67 const std::string CommandEvent::DEST_LOCALID =
"DEST_LOCALID";
69 CommandEvent::CommandEvent() :
Event() {
static const std::string DEST_LOCALID
CommandEvent()
Creates CommandEvent which contains a PropertySet consisting of an origination location ID and a dest...
static const std::string ORIG_HOSTNAME
defines the LocationId class
static const std::string ORIG_PROCESSID
boost::shared_ptr< LocationId > Ptr
virtual void populateHeader(cms::TextMessage *msg) const
populate a cms::TextMessage header with properties
static const std::string DEST_PROCESSID
virtual void populateHeader(cms::TextMessage *msg) const
populate a cms::TextMessage header with properties
void _constructor(LocationId const &originator, LocationId const &destination)
defines the CommandEvent class
set< std::string > _keywords
static const std::string ORIG_LOCALID
Interface for DateTime class.
LocationId::Ptr getOriginator() const
retrieve an object containing the OriginatoDesination LocationId
virtual ~CommandEvent()
destructor
static const std::string TYPE
Representation of an LSST Event.
Class for storing generic metadata.
Represent process that created an event.
static const std::string DEST_HOSTNAME
Interface for PropertySet class.
std::string getHostName() const
Retrieve the host name.
static const std::string COMMAND
defines the EventSystem class
int getProcessID() const
Retrieve the process id.
Include files required for standard LSST Exception handling.
int getLocalID() const
Retrieve the local id.
LocationId::Ptr getDestination() const
retrieve an object containing the OriginatoDesination LocationId