summaryrefslogtreecommitdiff
path: root/cppe/include/IceE/Object.h
diff options
context:
space:
mode:
Diffstat (limited to 'cppe/include/IceE/Object.h')
-rw-r--r--cppe/include/IceE/Object.h87
1 files changed, 0 insertions, 87 deletions
diff --git a/cppe/include/IceE/Object.h b/cppe/include/IceE/Object.h
deleted file mode 100644
index 5d64d561295..00000000000
--- a/cppe/include/IceE/Object.h
+++ /dev/null
@@ -1,87 +0,0 @@
-// **********************************************************************
-//
-// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved.
-//
-// This copy of Ice-E is licensed to you under the terms described in the
-// ICEE_LICENSE file included in this distribution.
-//
-// **********************************************************************
-
-#ifndef ICEE_OBJECT_H
-#define ICEE_OBJECT_H
-
-#include <IceE/ObjectF.h>
-#include <IceE/Current.h>
-
-namespace IceInternal
-{
-
-class Incoming;
-class BasicStream;
-
-}
-
-namespace Ice
-{
-
-enum DispatchStatus
-{
- DispatchOK,
- DispatchUserException
-};
-
-class ICE_API Object : public IceUtil::Shared
-{
-public:
-
- virtual bool operator==(const Object&) const;
- virtual bool operator<(const Object&) const;
-
- virtual Int ice_hash() const;
-
- virtual bool ice_isA(const std::string&, const Current& = Current()) const;
- DispatchStatus ___ice_isA(IceInternal::Incoming&, const Current&);
-
- virtual void ice_ping(const Current& = Current()) const;
- DispatchStatus ___ice_ping(IceInternal::Incoming&, const Current&);
-
- virtual std::vector< std::string> ice_ids(const Current& = Current()) const;
- DispatchStatus ___ice_ids(IceInternal::Incoming&, const Current&);
-
- virtual const std::string& ice_id(const Current& = Current()) const;
- DispatchStatus ___ice_id(IceInternal::Incoming&, const Current&);
-
- static const std::string& ice_staticId();
-
- virtual ObjectPtr ice_clone() const;
-
- static std::string __all[];
- virtual DispatchStatus __dispatch(IceInternal::Incoming&, const Current&);
-
-protected:
-
- Object() {};
- virtual ~Object() {} // This class is abstract.
-
- static void __checkMode(OperationMode expected, OperationMode received) // Inline for performance reasons.
- {
- if(expected != received)
- {
- __invalidMode(expected, received); // Not inlined.
- }
- }
- static void __invalidMode(OperationMode, OperationMode);
-};
-
-class ICE_API Blobject : public Object
-{
-public:
-
- // Returns true if ok, false if user exception.
- virtual bool ice_invoke(const std::vector<Byte>&, std::vector<Byte>&, const Current&) = 0;
- virtual DispatchStatus __dispatch(IceInternal::Incoming&, const Current&);
-};
-
-}
-
-#endif