summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/background/Connector.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/background/Connector.h')
-rw-r--r--cpp/test/Ice/background/Connector.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/cpp/test/Ice/background/Connector.h b/cpp/test/Ice/background/Connector.h
new file mode 100644
index 00000000000..d8ffb10ea9a
--- /dev/null
+++ b/cpp/test/Ice/background/Connector.h
@@ -0,0 +1,38 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved.
+//
+// This copy of Ice is licensed to you under the terms described in the
+// ICE_LICENSE file included in this distribution.
+//
+// **********************************************************************
+
+#ifndef TEST_CONNECTOR_H
+#define TEST_CONNECTOR_H
+
+#include <Ice/Connector.h>
+#include <Configuration.h>
+
+class Connector : public IceInternal::Connector
+{
+public:
+
+ IceInternal::TransceiverPtr connect(int);
+
+ Ice::Short type() const;
+ std::string toString() const;
+
+ virtual bool operator==(const IceInternal::Connector&) const;
+ virtual bool operator!=(const IceInternal::Connector&) const;
+ virtual bool operator<(const IceInternal::Connector&) const;
+
+private:
+
+ Connector(const IceInternal::ConnectorPtr& connector);
+ friend class EndpointI;
+
+ const IceInternal::ConnectorPtr _connector;
+ const ConfigurationPtr _configuration;
+};
+
+#endif