X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=include%2Fyazpp%2Fsocket-manager.h;h=ec65c293d451346749c632a4178046480b7dde46;hb=be1e73ac6baf74b1522837a4faa321a950b8ba26;hp=b56feea543637734ce84146319dc44d80347268c;hpb=8353663886b90d762d43790780be6cb58fb93c8a;p=yazpp-moved-to-github.git diff --git a/include/yazpp/socket-manager.h b/include/yazpp/socket-manager.h index b56feea..ec65c29 100644 --- a/include/yazpp/socket-manager.h +++ b/include/yazpp/socket-manager.h @@ -1,5 +1,5 @@ /* This file is part of the yazpp toolkit. - * Copyright (C) 1998-2011 Index Data and Mike Taylor + * Copyright (C) 1998-2012 Index Data and Mike Taylor * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -58,7 +58,7 @@ class YAZ_EXPORT SocketManager : public ISocketObservable { }; SocketEvent *m_queue_front; SocketEvent *m_queue_back; - + SocketEntry **lookupObserver (ISocketObserver *observer); SocketEvent *getEvent(); @@ -81,6 +81,7 @@ class YAZ_EXPORT SocketManager : public ISocketObservable { int timeout); /// Process one event. return > 0 if event could be processed; int processEvent(); + int getNumberOfObservers(); SocketManager(); virtual ~SocketManager(); };