DSMCC P
ROTOCOLS
AND
I
NTERFACES
As revised 2006.05.04
Bionic Buffalo Tech Note #55
Security:
Unrestricted
•
DSM::ConnBinder
caries tap information needed when file transfer or
read()
operations
involves a secondary channel (as when using download)
•
DSM::Version
selects from among several available versions in a
resolve()
operation
It is important to note that, under CORBA, a client might be transferred to a new or different server
while a request is outstanding. GIOP supports such service transfers. This is a crucial feature when
constructing highavailability service and content delivery systems.
9. Objects to Be Implemented on the Client
Objects with certain interfaces are expected to be implemented only on the client (service consumer)
device. RPC invocations by server (service provider) applications are not anticipated. Invocations by
client applications involve the local ORB only, and do not require the network. This section describes
those client objects.
DSM::Session
is created in some proprietary fashion, and the way an application acquires a
reference to it is undefined by DSMCC. Once the application has the reference, it calls
attach()
to
connect to a server, and
detach()
to disconnect. The
attach()
operation takes as input various
parameters describing the server and path to the service, and returns object references to a
ServiceGateway
and possibly to an initial service object.
Sessions can be suspended and resumed. If requested by a parameter, the
detach()
operation will
suspend as session, rather than ending it. If requested by a parameter, the
attach()
operation will
resume a suspended session, rather than starting a new session. It is possible to have multiple active
sessions at once, with the same or with different
ServiceGateway
s.
The
attach()
process takes place in one of two ways, depending on whether the UN session protocol
is used.
•
If the UN session protocol is used, then
DSM::Session::attach()
uses a local
DSM::SessionUU
object to establish a UN session. The resolved object references are
returned by
DSM::SessionUU::attach()
. A
ServiceGateway
is resolved to a remote
DSM::ServiceGatewayUU
object.
•
If the UN session protocol is not used, then
DSM::Session::attach()
invokes a remote
DSM::SessionSI::attach()
operation on the server, which returns the resolved object
references via the network. A
ServiceGateway
is resolved to a remote
DSM::ServiceGatewaySI
object.
In either case,
DSM::Session::attach()
does not return the resolved
ServiceGatewayUU
or
ServiceGatewaySI
reference. Instead, it returns a reference to a local
DSM::ServiceGateway
Copyright 2006 Bionic Buffalo. All rights reserved.
File tn0055; Modified 20060505 12:45:42
http://www.tatanka.com/doc/technote/index.html
Email: query@tatanka.com
Page 13 of 20