X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=include%2Fyazpp%2Fsocket-manager.h;h=ec65c293d451346749c632a4178046480b7dde46;hb=be1e73ac6baf74b1522837a4faa321a950b8ba26;hp=a4acfce1caffe8e7cfb6b2c595e0df46f695962a;hpb=d53e0ff85ad63de947da013a0d25a434d12eed40;p=yazpp-moved-to-github.git diff --git a/include/yazpp/socket-manager.h b/include/yazpp/socket-manager.h index a4acfce..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-2010 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(); };