[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
OzoneProxy doesn't implement OzoneRemote?
- To: ozone-users@ozone-db.org
- Subject: OzoneProxy doesn't implement OzoneRemote?
- From: Martin Harper <mcnh2@cam.ac.uk>
- Date: Mon, 11 Sep 2000 18:54:05 +0100
- Delivered-To: softw7-ozone-db:org-ozone-users@ozone-db.org
Is there any particular reason why OzoneProxy doesn't implement
OzoneRemote? As I understand it, every (eg) CarImpl_Proxy class will
implement Car, which will implement OzoneRemote, so all the subclasses
do. Having the base class do so too would be nice in code such as :-
OzoneRemote o;
o = db.objectForName( "xxx" );
db.deleteObject(o);
currently, the OzoneProxy returned by objectForName has to be cast to an
OzoneRemote by hand for use in deleteObject. Is there any reason for
this?
Martin