Changeset 1662

Show
Ignore:
Timestamp:
07/08/08 11:49:10 (2 months ago)
Author:
xkovah
Message:

Ramon pointed out I was naming my Element incorrectly as it should have been 'visit'. Now the notifyListeners() way works

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • capture-mod/trunk/MySoapServer.cpp

    r1644 r1662  
    8989    att.value = L"http://slashdot.org"; 
    9090    Element e; 
    91     e.name = L"iexplore"; 
     91    e.name = L"visit"; 
    9292    e.attributes.push_back(att); 
    9393    e.data = NULL; 
    9494    e.dataLength = 0; 
    95 //    printf("trying with notifyListeners\n"); 
    96 //    EventController::getInstance()->notifyListeners(&e); 
     95  printf("trying with notifyListeners\n"); 
     96  EventController::getInstance()->notifyListeners(&e); 
    9797    printf("trying with globVisitor\n"); 
    98   globVisitor->onServerEvent(&e); 
     98//    globVisitor->onServerEvent(&e); 
    9999 
    100100   return SOAP_OK;