diff options
author | Marc Laukien <marc@zeroc.com> | 2002-06-23 21:17:04 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-06-23 21:17:04 +0000 |
commit | 59788b8663f1f05a95b7afbbc6d2846dae11c96a (patch) | |
tree | c3ed292df270f11157decb83827d9af4144db52d /cpp/src/Ice/EventHandler.h | |
parent | file run.py was initially added on branch location. (diff) | |
download | ice-59788b8663f1f05a95b7afbbc6d2846dae11c96a.tar.bz2 ice-59788b8663f1f05a95b7afbbc6d2846dae11c96a.tar.xz ice-59788b8663f1f05a95b7afbbc6d2846dae11c96a.zip |
removed spaces after keywords
Diffstat (limited to 'cpp/src/Ice/EventHandler.h')
-rw-r--r-- | cpp/src/Ice/EventHandler.h | 174 |
1 files changed, 87 insertions, 87 deletions
diff --git a/cpp/src/Ice/EventHandler.h b/cpp/src/Ice/EventHandler.h index 3205f077489..02dbece7c9d 100644 --- a/cpp/src/Ice/EventHandler.h +++ b/cpp/src/Ice/EventHandler.h @@ -1,87 +1,87 @@ -// ********************************************************************** -// -// Copyright (c) 2002 -// MutableRealms, Inc. -// Huntsville, AL, USA -// -// All Rights Reserved -// -// ********************************************************************** - -#ifndef ICE_EVENT_HANDLER_H -#define ICE_EVENT_HANDLER_H - -#include <IceUtil/Shared.h> -#include <Ice/EventHandlerF.h> -#include <Ice/InstanceF.h> -#include <Ice/ThreadPoolF.h> -#include <Ice/BasicStream.h> - -namespace Ice -{ - -class LocalException; - -} - -namespace IceInternal -{ - -class EventHandler : public ::IceUtil::Shared -{ -public: - - // - // Return true if read() must be called before calling message(). - // - virtual bool readable() const = 0; - - // - // Read data via the event handler. May only be called if - // readable() returns true. - // - virtual void read(BasicStream&) = 0; - - // - // A complete message has been received. - // - virtual void message(BasicStream&, const ThreadPoolPtr&) = 0; - - // - // Will be called if the event handler is finally - // unregistered. (Calling unregister() does not unregister - // immediately.) - // - virtual void finished(const ThreadPoolPtr&) = 0; - - // - // Propagate an exception to the event handler. - // - virtual void exception(const ::Ice::LocalException&) = 0; - - // - // Try to destroy the event handler. Returns false if the event - // handler cannot be destroyed because it is in use, or true - // otherwise. - // -// virtual bool tryDestroy(const ThreadPoolPtr&) = 0; - -protected: - - EventHandler(const InstancePtr&); - virtual ~EventHandler(); - - InstancePtr _instance; - -private: - - // - // The _stream data member is for use by ThreadPool only - // - BasicStream _stream; - friend class ThreadPool; -}; - -} - -#endif +// **********************************************************************
+//
+// Copyright (c) 2002
+// MutableRealms, Inc.
+// Huntsville, AL, USA
+//
+// All Rights Reserved
+//
+// **********************************************************************
+
+#ifndef ICE_EVENT_HANDLER_H
+#define ICE_EVENT_HANDLER_H
+
+#include <IceUtil/Shared.h>
+#include <Ice/EventHandlerF.h>
+#include <Ice/InstanceF.h>
+#include <Ice/ThreadPoolF.h>
+#include <Ice/BasicStream.h>
+
+namespace Ice
+{
+
+class LocalException;
+
+}
+
+namespace IceInternal
+{
+
+class EventHandler : public ::IceUtil::Shared
+{
+public:
+
+ //
+ // Return true if read() must be called before calling message().
+ //
+ virtual bool readable() const = 0;
+
+ //
+ // Read data via the event handler. May only be called if
+ // readable() returns true.
+ //
+ virtual void read(BasicStream&) = 0;
+
+ //
+ // A complete message has been received.
+ //
+ virtual void message(BasicStream&, const ThreadPoolPtr&) = 0;
+
+ //
+ // Will be called if the event handler is finally
+ // unregistered. (Calling unregister() does not unregister
+ // immediately.)
+ //
+ virtual void finished(const ThreadPoolPtr&) = 0;
+
+ //
+ // Propagate an exception to the event handler.
+ //
+ virtual void exception(const ::Ice::LocalException&) = 0;
+
+ //
+ // Try to destroy the event handler. Returns false if the event
+ // handler cannot be destroyed because it is in use, or true
+ // otherwise.
+ //
+// virtual bool tryDestroy(const ThreadPoolPtr&) = 0;
+
+protected:
+
+ EventHandler(const InstancePtr&);
+ virtual ~EventHandler();
+
+ InstancePtr _instance;
+
+private:
+
+ //
+ // The _stream data member is for use by ThreadPool only
+ //
+ BasicStream _stream;
+ friend class ThreadPool;
+};
+
+}
+
+#endif
|