CreateRequest no longer derives from Requester; In responseHandlers all destructors are virtual.

This commit is contained in:
Marty Kraimer
2013-10-31 06:23:33 -04:00
parent 001185070e
commit 530a96746b
10 changed files with 124 additions and 98 deletions
+4 -4
View File
@@ -147,10 +147,6 @@ ServerSearchHandler::ServerSearchHandler(ServerContextImpl::shared_pointer const
{
}
ServerSearchHandler::~ServerSearchHandler()
{
}
void ServerSearchHandler::handleResponse(osiSockAddr* responseFrom,
Transport::shared_pointer const & transport, int8 version, int8 command,
size_t payloadSize, ByteBuffer* payloadBuffer)
@@ -1403,6 +1399,10 @@ void ServerMonitorRequesterImpl::send(ByteBuffer* buffer, TransportSendControl*
else
{
Monitor::shared_pointer monitor = _channelMonitor;
if(monitor==NULL) {
std::cout << "ServerMonitorRequesterImpl::send monitor is NULL" << std::endl;
return;
}
MonitorElement::shared_pointer element = monitor->poll();
if (element != NULL)
{