Ignore:
Timestamp:
May 7, 2009, 4:51:31 PM (15 years ago)
Author:
Christoph Mayer
Message:

-Integration of Branch 20090424-mayer-sideport

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/AribaModule.h

    r3055 r3374  
    4444#include <boost/foreach.hpp>
    4545
    46 // usings
    4746using std::vector;
    4847using std::string;
     
    5049// forward declaration
    5150namespace ariba {
    52 class AribaModule;
     51        class AribaModule;
     52        class SideportListener;
    5353}
    5454
     
    5959namespace ariba {
    6060
    61 // forward declarations of old interface
    6261namespace communication {
    6362class EndpointDescriptor;
     
    119118        void addBootstrapHints(string bootinfo);
    120119
     120        /**
     121         * Register a sideport for sniffing on communication events
     122         * and get advanced information. The sniffer is attached to
     123         * every node that is created on the module. Only one such
     124         * sniffer can be active system-wide, a new call to this
     125         * register function will only attach the sniffer to nodes
     126         * created after the registration call.
     127         *
     128         * @param sideport The SideportListener to integrate
     129         */
     130        void registerSideportListener(SideportListener* sideport);
     131
    121132        // --- module implementation ---
    122133
     
    185196
    186197        communication::BaseCommunication* base_comm;
     198        SideportListener* sideport_sniffer;
    187199
    188200        // TODO: use "abstract" representations here!
Note: See TracChangeset for help on using the changeset viewer.