Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: jwkhong@csd.uwo.ca (James W. Hong)
Subject: Re: defining multiple interfaces in a server
Date: 15 May 1994 18:46:12 GMT	[thread overview]
Message-ID: <2r5qlk$sog@falcon.ccs.uwo.ca> (raw)
In-Reply-To: 2qvu76$3og@paperboy.osf.org

In article <2qvu76$3og@paperboy.osf.org>,
Weidong Wang <wwang@down.osf.org> wrote:
>In article <2qtlo3$qce@falcon.ccs.uwo.ca>, jwkhong@csd.uwo.ca (James W. Hong) writes:
>|> This may be a dumb question but I was wondering if someone could tell me
>|> how I can define multiple interfaces for a single server application.
>|> Examples I have seen so far only allows a single interface to be defined.
>|> I am currently using AIX DCE version 1.1.
>|> 
>
>Just do it. Just as how you set up your first interface (rpc_server_register_if,
>inq_bindings, register_auth_info, rpc_ep_register, rpc_ns_binding_export, etc),
>then before you call rpc_server)listen, set up another interface. Then set up 
>your third interface, .... After you are done with interfaces you want, finally
>you call rpc_server_listen.
>
>Weidong Wang
>DCE Systems Engineering, OSF

Thanks for the suggestions.
I found the bank example provided with the AIX DCE distribution quite helpful
(somehow I missed that initially).

The trick is to define interfaces in separate IDL files, compile them, and
in the server initialization register the end points using the same binding 
vector and export the interfaces using the same entry name.  

James













      reply	other threads:[~1994-05-15 18:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-05-12 16:33 defining multiple interfaces in a server James W. Hong
1994-05-12 20:03 ` Jim Wade
1994-05-12 21:00 ` Yuh Ming YONG
1994-05-13 13:09 ` Weidong Wang
1994-05-15 18:46   ` James W. Hong [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox