fix after latest refactoring of NObserver.h

This commit is contained in:
Marian Krivos
2009-04-27 19:27:49 +00:00
parent 1afd0a8328
commit 29014a940c

View File

@@ -54,7 +54,7 @@ using Poco::Net::ShutdownNotification;
using Poco::Net::ServerSocket;
using Poco::Net::StreamSocket;
using Poco::NObserver;
using Poco::AutoPtr;
using Poco::Notification;
using Poco::Thread;
using Poco::Util::ServerApplication;
using Poco::Util::Application;
@@ -93,7 +93,7 @@ public:
delete [] _pBuffer;
}
void onReadable(const AutoPtr<ReadableNotification>& pNf)
void onReadable(const Notification::Ptr& pNf)
{
int n = _socket.receiveBytes(_pBuffer, BUFFER_SIZE);
if (n > 0)
@@ -102,7 +102,7 @@ public:
delete this;
}
void onShutdown(const AutoPtr<ShutdownNotification>& pNf)
void onShutdown(const Notification::Ptr& pNf)
{
delete this;
}