Pimpl Yaz_Z_Query class
[yazpp-moved-to-github.git] / include / yazpp / socket-manager.h
index c83c3f3..ec65c29 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2009 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();
 };