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

[ninf-users:00134] Re: object handle



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.

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.