* looking for "automatic binding"
@ 1993-12-20 10:49 Harro Kremer
1993-12-20 17:41 ` Mark Hickey
1993-12-20 19:13 ` Jon Mauney
0 siblings, 2 replies; 3+ messages in thread
From: Harro Kremer @ 1993-12-20 10:49 UTC (permalink / raw)
--
In one of the message in this newsgroup in november, I came across the term
automatic binding. To quote:
"In some cases, clients that use autobinding can survive this [the loss of a
connection to a server, HK] without noticing as the RPC runtime can cantch the
exception and automatically find a new binding.
My questions are:
1) Is this facility present in DCE 1.0? If so, where in the documentation can
this be found?
2) How do I select autobinding or if it is default, how do I unselect it?
3) Is there inference between autobinding and the regular binding between a
client and a server where the client explicitly needs to pick a server from
a
list of servers offering a service.
Thanks in advance for any information.
Regards,
--
__ Harro Kremer <kremer@cs.utwente.nl>
____/ \_______
| \__/ | Univ. of Twente, Dept. Computer Science, TIOS-group
| ___ _ __ | P.O. Box 217, NL-7500 AE Enschede, The Netherlands
| | | / \ (_ | tel: +31 53 89 3703 fax: +31 53 333815
| | | \_/ __) |
|_______________| Freedom's just another word for nothing left to lose.
- Kris Kristofferson & Janis Joplin -
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: looking for "automatic binding"
1993-12-20 10:49 looking for "automatic binding" Harro Kremer
@ 1993-12-20 17:41 ` Mark Hickey
1993-12-20 19:13 ` Jon Mauney
1 sibling, 0 replies; 3+ messages in thread
From: Mark Hickey @ 1993-12-20 17:41 UTC (permalink / raw)
In article <1993Dec20.114953@cs.utwente.nl> kremer@cs.utwente.nl (Harro Kremer) writes:
>--
>
>In one of the message in this newsgroup in november, I came across the term
>automatic binding. To quote:
>
>"In some cases, clients that use autobinding can survive this [the loss of a
>connection to a server, HK] without noticing as the RPC runtime can cantch the
>exception and automatically find a new binding.
>
>My questions are:
>
>1) Is this facility present in DCE 1.0? If so, where in the documentation can
> this be found?
This facility was present in DCE 1.0 ( and continues to be supported). The
auto handle attribute of an interface is described in the Application
Developer's Guide (see the index for page numbers).
>
>2) How do I select autobinding or if it is default, how do I unselect it?
You specify auto binding explicitly via an attribute associated with an
interface or operation description in a .ACF file (one of the files that
describes the interfaces, along with the .IDL file), or implicitly by omitting
the binding handle from the parameter list of operations in the interface. You
can specify binding methods other than auto binding by specifying other
attributes in the .ACF file (this is all discussed in detail in the
Applicatiion Developer's Guide).
>
>3) Is there inference between autobinding and the regular binding between a
> client and a server where the client explicitly needs to pick a server from
> a list of servers offering a service.
I really don't understand waht you are asking here.
>
>Thanks in advance for any information.
>
>Regards,
>
Mark Hickey
OSF DEE Quality Assurance
mhickey@osf.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: looking for "automatic binding"
1993-12-20 10:49 looking for "automatic binding" Harro Kremer
1993-12-20 17:41 ` Mark Hickey
@ 1993-12-20 19:13 ` Jon Mauney
1 sibling, 0 replies; 3+ messages in thread
From: Jon Mauney @ 1993-12-20 19:13 UTC (permalink / raw)
kremer@cs.utwente.nl (Harro Kremer) writes:
>--
>In one of the message in this newsgroup in november, I came across the term
>automatic binding. To quote:
>"In some cases, clients that use autobinding can survive this [the loss of a
>connection to a server, HK] without noticing as the RPC runtime can cantch the
>exception and automatically find a new binding.
>My questions are:
>1) Is this facility present in DCE 1.0? If so, where in the documentation can
> this be found?
Yes. If you have the DCE 1.0.2 Application Development Guide, you'll
find the answer on page 18-5. The auto_handle attribute is part of
the ACF, so it is explained in the ACF chapter. It is also discussed
in the RPC chapter, look at section 13.5 "Methods for Managing Bindings"
The standard RPC examples usually include automatic binding examples.
The two examples in Shirley's "Guide to Writing DCE Applications"
appendices C and D use automatic binding.
>2) How do I select autobinding or if it is default, how do I unselect it?
If a procedure doesn't have a binding handle as a parameter, and if
there is no explicit binding attribute in the ACF, then auto_handle
will be taken as default. You should get a message from the IDL
compiler in this case. You can apply auto_handle to any interface
through the ACF. You can apply explicit_handle or implicit_handle
attribute to avoid automatic binding.
>3) Is there inference between autobinding and the regular binding between a
> client and a server where the client explicitly needs to pick a server from
>a
> list of servers offering a service.
If you use automatic binding, the system will pick, effectively at random,
from the available servers, using your RPC_DEFAULT_ENTRY environment variable
as a starting point. You get no control over which server you connect to.
But then, you don't have to write any code to do the binding, either.
--
Jon Mauney mauney@csc.ncsu.edu
Mauney Computer Consulting (919) 828-8053
"Have TGT, will travel"
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1993-12-20 19:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-12-20 10:49 looking for "automatic binding" Harro Kremer
1993-12-20 17:41 ` Mark Hickey
1993-12-20 19:13 ` Jon Mauney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox