Class Poco::Net::SocketNotification (original) (raw)
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: ReadableNotification, WritableNotification, ErrorNotification, TimeoutNotification, IdleNotification, ShutdownNotification
Member Summary
Member Functions: setSocket, socket, source
Inherited Functions: duplicate, name, referenceCount, release
Constructors
SocketNotification
explicit SocketNotification(
SocketReactor * pReactor
);
Destructor
~SocketNotification 
~SocketNotification() override;
Member Functions
socket 
Socket socket() const;
Returns the socket that caused the notification.
source 
SocketReactor & source() const;
Returns the SocketReactor that generated the notification.
setSocket 
void setSocket(
const Socket & socket
);