[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

[ninf-users:00135] Re: object handle



Yoshio Tanaka wrote:
Hi,

In your example, Ninf-G remote object (O_B) is created on host B by
calling grpc_object_handle_init_np() on host A.  O_B does exist on
host B and can be referred by an object handle created on host A.

I'm not sure what "serialized" mean, but the object handle is a C
structure and kept in a variable on host A.  Thus, the object handle
is not valid on host C and no handles on host C could invoke
methods of O_B which was created on host A.

I wanted to say "Object Serialization" in Java. I referred to Ninf-G Java API, in particular instances of GrpcObjectHandle class.


But, let's suppose that a Ninf-G remote object was created on host B by a call to grpc_oject_handle_init_np(), or by Java method GrpcClient.getObjectHandle() from host A, as in primer example. Would it be possible to localize the existing Ninf-G object from host C, and create an handle to the its? If not, perhaps, may be a limitation?

Thank you very much, Fabrizio.

Regards,


--
Yoshio Tanaka (yoshio.tanaka@aist.go.jp)
http://ninf.apgrid.org/
http://www.apgridpma.org/

From: Fabrizio Messina <messina@dmi.unict.it>
Subject: [ninf-users:00133] object handle
Date: Mon, 13 Mar 2006 20:40:19 +0100
Message-ID: <4415CAA3.2040103@dmi.unict.it>

messina> Hi all,
messina> messina> I'm a Ph.D Student and I have a question about Ninf-G "remote object" messina> and its "handle".
messina> messina> What's the scope of an "object handle" (say, instance of messina> GrpcObjectHandle class)? If an handle to some Ninf-G Object, say O_B messina> (located in host B), is created on host A, and the handle is messina> "serialized" to host C, is the handle valid on host C to invoke methods messina> of O_B?
messina> messina> Thank you in advance, Fabrizio.



Attachment: smime.p7s
Description: S/MIME Cryptographic Signature