Lecture 14. Remote Object Reference
Lecture 14. Remote Object Reference
2161CS136
DISTRIBUTED SYSTEMS
Unit II Process and Distributed Objects
Lecture No.14 Remote object references & Multicast
Communication
Academic Year : 2021-21(WS)
Faculty Name : Dr.M.Gokuldhev
School of Computing
Vel Tech Rangarajan Dr. Sagunthala R&D Institute of
Science and Technology
Definition
• When a client invokes a method in a remote object, an invocation message
is sent to the server process that hosts the remote object.
• This message needs to specify which particular object is to have its method
invoked. A remote object reference is an identifier for a remote object that
is valid throughout a distributed system.
• Even after the remote object associated with a given remote object
reference is deleted, it is important that the remote object reference is not
reused, because its potential invokers may retain obsolete remote object
references.
• Any attempt to invoke a deleted object should produce an error rather than
allow access to a different object.
Remote object reference - uniqueness
• There are several ways to ensure that a One way is to construct a remote
object reference by concatenating the Internet address of its host computer
and the port number of the process that created it with the time of its
creation and a local object number.
Multicast routers:
•IP packets can be multicast both on a local network and on the wider Internet.
Local multicasts use the multicast capability of the local network, for example,
of an Ethernet. Internet multicasts make use of multicast routers, which
forward single datagrams to routers on other networks, where they are again
multicast to local members.
•To limit the distance of propagation of a multicast datagram, the sender can
specify the number of routers it is allowed to pass – called the time to live, or
TTL for sh.ort
Details are specific to IPv4