File Information
Library: OSP
Package: Service
Header: Poco/OSP/ServiceEvent.h
Description
The ServiceEvent class holds information about an event caused by a change to a service registration.
Member Summary
Member Functions: operator =, service, what
Enumerations
EventKind
Constructors
ServiceEvent
ServiceEvent(
const ServiceEvent & event
);
Creates the ServiceEvent by copying another one.
ServiceEvent
ServiceEvent(
ServiceRef::Ptr pService,
EventKind what
);
Creates the ServiceEvent.
Destructor
~ServiceEvent
~ServiceEvent();
Destroys the ServiceEvent.
Member Functions
operator =
ServiceEvent & operator = (
const ServiceEvent & event
);
Assigns another ServiceEvent.
service
ServiceRef::ConstPtr service() const;
Returns the service that caused the event.
what
EventKind what() const;
Returns the reason of the event.