summaryrefslogtreecommitdiff
path: root/rb/src
diff options
context:
space:
mode:
Diffstat (limited to 'rb/src')
-rw-r--r--rb/src/IceRuby/Endpoint.cpp4
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