Poco::Net

class SocketNotification

Library: Net
Package: Reactor
Header: Poco/Net/SocketNotification.h

Description

The base class for all notifications generated by the SocketReactor.

Inheritance

Direct Base Classes: Poco::Notification

All Base Classes: Poco::Notification, Poco::RefCountedObject

Known Derived Classes: ErrorNotification, TimeoutNotification, IdleNotification, ShutdownNotification, WritableNotification, ReadableNotification

Member Summary

Member Functions: socket, source

Inherited Functions: duplicate, name, referenceCount, release

Constructors

SocketNotification

SocketNotification(
    SocketReactor * pReactor
);

Creates the SocketNotification for the given SocketReactor.

Destructor

~SocketNotification virtual

virtual ~SocketNotification();

Destroys the SocketNotification.

Member Functions

socket inline

Socket & socket();

Returns the socket that caused the notification.

source inline

SocketReactor & source();

Returns the SocketReactor that generated the notification.