Docsity

Demonstrates Remoting - Lecture Notes - Distributed Objects | CSE 775, Study notes of Engineering

Toggle sidebar
bg1
OUTPROC3 โ€“ Demonstrates Remoting
1. Component makes no special provisions for remote access by
client.
2. Component specifies oleautomation in IDL. This declares the
component will use typelibrary marshalling, so no proxy/stub
code is required. Thus neither client machine nor component
machine need register a proxy dll.
a. This makes it easier for client to use component.
b. However, the interfaces now are restricted to automation
types.
3. Client specifies a remote machine:
a. Use CoCreateInstanceEx
b. Specify maching using COSERVERINFO
c. Use MULTI-QI Structure to request multiple interfaces in
one
round-trip.

Partial preview of the text

Download Demonstrates Remoting - Lecture Notes - Distributed Objects | CSE 775 and more Study notes Engineering in PDF only on Docsity!

OUTPROC3 โ€“ Demonstrates Remoting

  1. Component makes no special provisions for remote access by client.
  2. Component specifies oleautomation in IDL. This declares the component will use typelibrary marshalling, so no proxy/stub code is required. Thus neither client machine nor component machine need register a proxy dll. a. This makes it easier for client to use component. b. However, the interfaces now are restricted to automation types.
  3. Client specifies a remote machine: a. Use CoCreateInstanceEx b. Specify maching using COSERVERINFO c. Use MULTI-QI Structure to request multiple interfaces in one round-trip.