summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/UdpEndpointI.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/UdpEndpointI.h')
-rw-r--r--cpp/src/Ice/UdpEndpointI.h5
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;
};