/* 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:
#include <yaz/yconfig.h>
namespace yazpp_1 {
-
+
enum SocketObserve {
SOCKET_OBSERVE_READ=1,
SOCKET_OBSERVE_WRITE=2,
Forward reference
*/
class ISocketObserver;
-
+
/** Socket Observable.
This interface implements notification of socket events.
The module interested in (observing) the sockets
int timeout)=0;
virtual ~ISocketObservable();
};
-
+
/** Socket Observer.
The ISocketObserver interface implements a module interested
socket events. Look for objects that implements the
virtual void socketNotify(int event) = 0;
virtual ~ISocketObserver();
};
-
+
};
#endif
/*