diff options
author | Benoit Foucher <benoit@zeroc.com> | 2008-03-06 10:13:42 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2008-03-06 10:13:42 +0100 |
commit | c6dbd090d9691cc0116a2967b2827b858b184dfe (patch) | |
tree | 6d2ad80c98665c9090b16f97c400ab4b33c7ab73 /rb/src/IceRuby/Proxy.cpp | |
parent | Merge branch 'master' of ssh://cvs.zeroc.com/home/git/ice (diff) | |
download | ice-c6dbd090d9691cc0116a2967b2827b858b184dfe.tar.bz2 ice-c6dbd090d9691cc0116a2967b2827b858b184dfe.tar.xz ice-c6dbd090d9691cc0116a2967b2827b858b184dfe.zip |
Removed thread-per-connection and added serialize mode
Diffstat (limited to 'rb/src/IceRuby/Proxy.cpp')
-rw-r--r-- | rb/src/IceRuby/Proxy.cpp | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/rb/src/IceRuby/Proxy.cpp b/rb/src/IceRuby/Proxy.cpp index 147249bf66f..7766b7f644e 100644 --- a/rb/src/IceRuby/Proxy.cpp +++ b/rb/src/IceRuby/Proxy.cpp @@ -956,32 +956,6 @@ IceRuby_ObjectPrx_ice_connectionId(VALUE self, VALUE id) extern "C" VALUE -IceRuby_ObjectPrx_ice_isThreadPerConnection(VALUE self) -{ - ICE_RUBY_TRY - { - Ice::ObjectPrx p = getProxy(self); - return p->ice_isThreadPerConnection() ? Qtrue : Qfalse; - } - ICE_RUBY_CATCH - return Qnil; -} - -extern "C" -VALUE -IceRuby_ObjectPrx_ice_threadPerConnection(VALUE self, VALUE b) -{ - ICE_RUBY_TRY - { - Ice::ObjectPrx p = getProxy(self); - return createProxy(p->ice_threadPerConnection(RTEST(b)), rb_class_of(self)); - } - ICE_RUBY_CATCH - return Qnil; -} - -extern "C" -VALUE IceRuby_ObjectPrx_ice_getConnection(VALUE self) { ICE_RUBY_TRY @@ -1380,9 +1354,6 @@ IceRuby::initProxy(VALUE iceModule) rb_define_method(_proxyClass, "ice_compress", CAST_METHOD(IceRuby_ObjectPrx_ice_compress), 1); rb_define_method(_proxyClass, "ice_timeout", CAST_METHOD(IceRuby_ObjectPrx_ice_timeout), 1); rb_define_method(_proxyClass, "ice_connectionId", CAST_METHOD(IceRuby_ObjectPrx_ice_connectionId), 1); - rb_define_method(_proxyClass, "ice_isThreadPerConnection", - CAST_METHOD(IceRuby_ObjectPrx_ice_isThreadPerConnection), 0); - rb_define_method(_proxyClass, "ice_threadPerConnection", CAST_METHOD(IceRuby_ObjectPrx_ice_threadPerConnection), 1); rb_define_method(_proxyClass, "ice_getConnection", CAST_METHOD(IceRuby_ObjectPrx_ice_getConnection), 0); rb_define_method(_proxyClass, "ice_getCachedConnection", CAST_METHOD(IceRuby_ObjectPrx_ice_getCachedConnection), 0); |