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 /rb/src/IceRuby/Endpoint.cpp | |
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 'rb/src/IceRuby/Endpoint.cpp')
-rw-r--r-- | rb/src/IceRuby/Endpoint.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rb/src/IceRuby/Endpoint.cpp b/rb/src/IceRuby/Endpoint.cpp index e2a31f0242e..6b3198246b5 100644 --- a/rb/src/IceRuby/Endpoint.cpp +++ b/rb/src/IceRuby/Endpoint.cpp @@ -148,6 +148,8 @@ IceRuby::createEndpointInfo(const Ice::EndpointInfoPtr& p) rb_ivar_set(info, rb_intern("@sourceAddress"), createString(udp->sourceAddress)); rb_ivar_set(info, rb_intern("@mcastInterface"), createString(udp->mcastInterface)); rb_ivar_set(info, rb_intern("@mcastTtl"), INT2FIX(udp->mcastTtl)); + rb_ivar_set(info, rb_intern("@sndBufSize"), INT2FIX(udp->sndBufSize)); + rb_ivar_set(info, rb_intern("@rcvBufSize"), INT2FIX(udp->rcvBufSize)); } else if(Ice::OpaqueEndpointInfoPtr::dynamicCast(p)) { @@ -291,6 +293,8 @@ IceRuby::initEndpoint(VALUE iceModule) // rb_define_attr(_udpEndpointInfoClass, "mcastInterface", 1, 0); rb_define_attr(_udpEndpointInfoClass, "mcastTtl", 1, 0); + rb_define_attr(_udpEndpointInfoClass, "sndBufSize", 1, 0); + rb_define_attr(_udpEndpointInfoClass, "rcvBufSize", 1, 0); // // OpaqueEndpointInfo |