X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=include%2Fyazpp%2Fsocket-observer.h;h=e6942bc8c02b16d1104564d2a10d0dc7f5cadf54;hb=be1e73ac6baf74b1522837a4faa321a950b8ba26;hp=7f3c65c00e449bdada525bd4fb435a64cd8bc932;hpb=8353663886b90d762d43790780be6cb58fb93c8a;p=yazpp-moved-to-github.git diff --git a/include/yazpp/socket-observer.h b/include/yazpp/socket-observer.h index 7f3c65c..e6942bc 100644 --- a/include/yazpp/socket-observer.h +++ b/include/yazpp/socket-observer.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: @@ -31,7 +31,7 @@ #include namespace yazpp_1 { - + enum SocketObserve { SOCKET_OBSERVE_READ=1, SOCKET_OBSERVE_WRITE=2, @@ -43,7 +43,7 @@ namespace yazpp_1 { Forward reference */ class ISocketObserver; - + /** Socket Observable. This interface implements notification of socket events. The module interested in (observing) the sockets @@ -76,7 +76,7 @@ namespace yazpp_1 { int timeout)=0; virtual ~ISocketObservable(); }; - + /** Socket Observer. The ISocketObserver interface implements a module interested socket events. Look for objects that implements the @@ -88,7 +88,7 @@ namespace yazpp_1 { virtual void socketNotify(int event) = 0; virtual ~ISocketObserver(); }; - + }; #endif /*