Folks,

It is now possible in AltRMI to do up-casting on client side proxies if 
the publishing has been done right.  Consider....

  interface A {
     B getB()
  }

  interface B {
    void doThing();
  }

  interface C extends B {
    void doAnotherThing();
  }

If the implementation of A chooses to return a B instead of an A, the 
the client-side usage of that could cast it in the normal Java way...

   A a = (A) lookup(...);
   C c (C) a.getB();
   c.doAnotherThing();

- Paul


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to