X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyazpp%2Fsocket-observer.h;h=e6942bc8c02b16d1104564d2a10d0dc7f5cadf54;hb=562ea2b80ffd1bd24aa6b6250b5b9dd61f3e468d;hp=0fa4e98ba99fc1b124efe81935f773288e0f9a94;hpb=6b22d0543d41bec8626f3ae7ac866bcab7de44bd;p=yazpp-moved-to-github.git diff --git a/include/yazpp/socket-observer.h b/include/yazpp/socket-observer.h index 0fa4e98..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-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: @@ -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 /*