summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/UdpTransceiver.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/UdpTransceiver.h')
-rw-r--r--cpp/src/Ice/UdpTransceiver.h26
1 files changed, 2 insertions, 24 deletions
diff --git a/cpp/src/Ice/UdpTransceiver.h b/cpp/src/Ice/UdpTransceiver.h
index 7cd0e782929..01e0ea8c517 100644
--- a/cpp/src/Ice/UdpTransceiver.h
+++ b/cpp/src/Ice/UdpTransceiver.h
@@ -15,7 +15,6 @@
#include <Ice/LoggerF.h>
#include <Ice/StatsF.h>
#include <Ice/Transceiver.h>
-#include <Ice/TransportInfoI.h>
#ifndef _WIN32
# include <netinet/in.h> // For struct sockaddr_in
@@ -37,7 +36,8 @@ public:
virtual void shutdown();
virtual void write(Buffer&, int);
virtual void read(Buffer&, int);
- virtual Ice::TransportInfoPtr info() const;
+ virtual std::string type() const;
+ virtual std::string toString() const;
bool equivalent(const std::string&, int) const;
int effectivePort() const;
@@ -55,7 +55,6 @@ private:
const TraceLevelsPtr _traceLevels;
const Ice::LoggerPtr _logger;
const Ice::StatsPtr _stats;
- const Ice::TransportInfoPtr _info;
const bool _incoming;
SOCKET _fd;
@@ -72,25 +71,4 @@ private:
}
-namespace Ice
-{
-
-class UdpTransportInfoI : public TransportInfoI
-{
-public:
-
- virtual std::string type() const;
- virtual std::string toString() const;
-
-private:
-
- UdpTransportInfoI(SOCKET);
- friend class IceInternal::UdpTransceiver;
-
- static const std::string _type;
- const std::string _desc;
-};
-
-}
-
#endif