diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2015-01-07 10:16:13 -0330 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2015-01-07 10:16:13 -0330 |
commit | 25dc1ddfb828aa892afdf399c835c8a150a8cff3 (patch) | |
tree | 1c0ba31f16ad41aadcdccddbc4fc803396004709 /cpp/src/Ice/UdpEndpointI.h | |
parent | ICE-6253 added tests to ensure Functional_TwowayCallback* used (diff) | |
download | ice-25dc1ddfb828aa892afdf399c835c8a150a8cff3.tar.bz2 ice-25dc1ddfb828aa892afdf399c835c8a150a8cff3.tar.xz ice-25dc1ddfb828aa892afdf399c835c8a150a8cff3.zip |
ICE-6082 added sndBufSize and rcvBufSize to UDPEndpointInfo
Diffstat (limited to 'cpp/src/Ice/UdpEndpointI.h')
-rw-r--r-- | cpp/src/Ice/UdpEndpointI.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/src/Ice/UdpEndpointI.h b/cpp/src/Ice/UdpEndpointI.h index 0177963f0d9..545decafca7 100644 --- a/cpp/src/Ice/UdpEndpointI.h +++ b/cpp/src/Ice/UdpEndpointI.h @@ -23,7 +23,7 @@ class UdpEndpointI : public IPEndpointI public: UdpEndpointI(const ProtocolInstancePtr&, const std::string&, Ice::Int, const Address&, const std::string&, - Ice::Int, bool, const std::string&, bool); + Ice::Int, Ice::Int sndBufSize, Ice::Int rcvBufSize, bool, const std::string&, bool); UdpEndpointI(const ProtocolInstancePtr&); UdpEndpointI(const ProtocolInstancePtr&, BasicStream*); @@ -44,6 +44,7 @@ public: virtual bool operator<(const Ice::LocalObject&) const; UdpEndpointIPtr endpoint(const UdpTransceiverPtr&) const; + void setBufSize(int sndSize, int rcvSize); using IPEndpointI::connectionId; @@ -64,6 +65,8 @@ private: // const Ice::Int _mcastTtl; const std::string _mcastInterface; + const int _sndBufSize; + const int _rcvBufSize; const bool _connect; const bool _compress; }; |