X-Git-Url: http://git.indexdata.com/?p=yazpp-moved-to-github.git;a=blobdiff_plain;f=include%2Fyazpp%2Fsocket-observer.h;h=d5d434996b6b8717c1b2d79707df2376a95a7316;hp=3de5544c057dff2096ccd24564d2bce6ae68f996;hb=d62e0baee8ee3cccced41746ef09fc3e01f401d5;hpb=9fef1c618f2f936041b3b58d61e406182033ab30 diff --git a/include/yazpp/socket-observer.h b/include/yazpp/socket-observer.h index 3de5544..d5d4349 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) 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,12 +88,13 @@ namespace yazpp_1 { virtual void socketNotify(int event) = 0; virtual ~ISocketObserver(); }; - + }; #endif /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab