diff options
author | Mark Spruiell <mes@zeroc.com> | 2014-03-19 12:45:55 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2014-03-19 12:45:55 -0700 |
commit | cdcffbcc3c3c052afdeb772ff0167e7a90b525bb (patch) | |
tree | 4f16ee41ef7d33394c44e9db81e4d6cd89908250 /cpp/src/Ice/TcpAcceptor.h | |
parent | fixing testicedist.py for 5487 (diff) | |
download | ice-cdcffbcc3c3c052afdeb772ff0167e7a90b525bb.tar.bz2 ice-cdcffbcc3c3c052afdeb772ff0167e7a90b525bb.tar.xz ice-cdcffbcc3c3c052afdeb772ff0167e7a90b525bb.zip |
merging javascript branch
Diffstat (limited to 'cpp/src/Ice/TcpAcceptor.h')
-rw-r--r-- | cpp/src/Ice/TcpAcceptor.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/cpp/src/Ice/TcpAcceptor.h b/cpp/src/Ice/TcpAcceptor.h index fa4aab8834a..32a54af9182 100644 --- a/cpp/src/Ice/TcpAcceptor.h +++ b/cpp/src/Ice/TcpAcceptor.h @@ -1,6 +1,6 @@ // ********************************************************************** // -// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved. +// Copyright (c) 2003-2014 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. @@ -11,9 +11,7 @@ #define ICE_TCP_ACCEPTOR_H #include <Ice/TransceiverF.h> -#include <Ice/InstanceF.h> -#include <Ice/TraceLevelsF.h> -#include <Ice/LoggerF.h> +#include <Ice/ProtocolInstanceF.h> #include <Ice/Acceptor.h> #include <Ice/Network.h> @@ -39,19 +37,18 @@ public: #endif virtual TransceiverPtr accept(); + virtual std::string protocol() const; virtual std::string toString() const; int effectivePort() const; private: - TcpAcceptor(const InstancePtr&, const std::string&, int); + TcpAcceptor(const ProtocolInstancePtr&, const std::string&, int); virtual ~TcpAcceptor(); friend class TcpEndpointI; - const InstancePtr _instance; - const TraceLevelsPtr _traceLevels; - const ::Ice::LoggerPtr _logger; + const ProtocolInstancePtr _instance; const Address _addr; int _backlog; |