mbdriver/src/mbdriver_util.cxx
// ===========================================================================
// Sends a single message via log presentation.
//
Sends a single message via log presentation.
Sends a single message via log presentation .
void one_message(const string &msg, const string &severity) {
    Message xml_obj(trivialToDOMString("msg"));
    xml_obj.SetText(trivialToDOMString(msg));
    xml_obj.AddAttribute(trivialToDOMString("parent"), trivialToDOMString("0"));
    xml_obj.AddAttribute(trivialToDOMString("sev"), trivialToDOMString(severity));
    MessageSerializer serializer;
    SingleSender<Message> communicator(xml_obj, serializer);
    connect(lpservice_port(), communicator);
}
void one_message ( const string & msg , const string & severity ) { Message xml_obj ( trivialToDOMString ( " " ) ) ; xml_obj . SetText ( trivialToDOMString ( msg ) ) ; xml_obj . AddAttribute ( trivialToDOMString ( " " ) , trivialToDOMString ( " " ) ) ; xml_obj . AddAttribute ( trivialToDOMString ( " " ) , trivialToDOMString ( severity ) ) ; MessageSerializer serializer ; SingleSender < Message > communicator ( xml_obj , serializer ) ; connect ( lpservice_port ( ) , communicator ) ; }
Sends a single message via log presentation.
Sends a single message via log presentation .