[omniORB] client-side timeouts

Peter Bauer PBHD@compuserve.com
Fri, 8 Oct 1999 08:08:21 -0400


Ok, one must not edit diffs, this was missing:
diff -c -r original/omniORB_280/src/lib/omniORB2/orbcore/object.cc
omniORB/src/lib/omniORB2/orbcore/object.cc
*** original/omniORB_280/src/lib/omniORB2/orbcore/object.cc     Mon Aug 1=
6
21:24:33 1999
--- omniORB/src/lib/omniORB2/orbcore/object.cc  Thu Oct  7 18:06:01 1999
***************
*** 109,114 ****
--- 109,115 ----
  =

  omniObject::omniObject(omniObjectManager* m)    // ctor for local objec=
t
  {
+   pd_timeout =3D -1;
    pd_repoId =3D 0;
    pd_repoIdsize =3D 0;
    pd_original_repoId =3D 0;
***************
*** 145,150 ****
--- 146,158 ----
    return;
  }
  =

+ =

+ void omniObject::setTimeout (time_t timeout) {
+   pd_timeout=3Dtimeout;
+ }
+ time_t omniObject::getTimeout () {
+   return pd_timeout;
+ }
  =

  omniObject::omniObject(const char *repoId,   // ctor for proxy object
               Rope *r,