diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2014-09-17 13:50:35 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2014-09-17 13:50:35 -0230 |
commit | a3d676c4199ff53edd458abf7ce52f6cf83213b4 (patch) | |
tree | d6975ba5b7c3d9e58b5378f2e27ec536e4157517 /cpp/src/Ice/UdpTransceiver.h | |
parent | Simplified creation of Admin facets in IceBox; simplified test for Admin enab... (diff) | |
download | ice-a3d676c4199ff53edd458abf7ce52f6cf83213b4.tar.bz2 ice-a3d676c4199ff53edd458abf7ce52f6cf83213b4.tar.xz ice-a3d676c4199ff53edd458abf7ce52f6cf83213b4.zip |
ICE-4891 some minor improvements
Diffstat (limited to 'cpp/src/Ice/UdpTransceiver.h')
-rw-r--r-- | cpp/src/Ice/UdpTransceiver.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/src/Ice/UdpTransceiver.h b/cpp/src/Ice/UdpTransceiver.h index e9f4b6b1b55..c43e7a636a4 100644 --- a/cpp/src/Ice/UdpTransceiver.h +++ b/cpp/src/Ice/UdpTransceiver.h @@ -47,7 +47,7 @@ public: virtual SocketOperation initialize(Buffer&, Buffer&, bool&); virtual SocketOperation closing(bool, const Ice::LocalException&); virtual void close(); - virtual EndpointIPtr bind(const EndpointIPtr&); + virtual EndpointIPtr bind(); virtual SocketOperation write(Buffer&); virtual SocketOperation read(Buffer&, bool&); #if defined(ICE_USE_IOCP) || defined(ICE_OS_WINRT) @@ -67,7 +67,8 @@ public: private: UdpTransceiver(const ProtocolInstancePtr&, const Address&, const Address&, const std::string&, int); - UdpTransceiver(const ProtocolInstancePtr&, const std::string&, int, const std::string&, bool); + UdpTransceiver(const UdpEndpointIPtr&, const ProtocolInstancePtr&, const std::string&, int, const std::string&, + bool); virtual ~UdpTransceiver(); @@ -82,6 +83,7 @@ private: friend class UdpEndpointI; friend class UdpConnector; + UdpEndpointIPtr _endpoint; const ProtocolInstancePtr _instance; const bool _incoming; bool _bound; |