Library: Net
Package: Reactor
Header: Poco/Net/SocketNotification.h
Description
This notification is sent if a socket has signalled an error.
Inheritance
Direct Base Classes: SocketNotification
All Base Classes: SocketNotification, Poco::Notification, Poco::RefCountedObject
Member Summary
Member Functions: code, description
Inherited Functions: duplicate, name, referenceCount, release, setSocket, socket, source
Constructors
ErrorNotification
ErrorNotification(
SocketReactor * pReactor,
int code = 0,
const std::string & description = ""
);
Creates the ErrorNotification for the given SocketReactor.
ErrorNotification
ErrorNotification(
SocketReactor * pReactor,
const Socket & socket,
int code = 0,
const std::string & description = ""
);
Creates the ErrorNotification for the given SocketReactor.
Destructor
~ErrorNotification
Destroys the ErrorNotification.
Member Functions
code
int code() const;
Returns the error code.
description
const std::string & description() const;
Returns error description.