Aller au contenu
ELECTRONICS ENGINEERINGelectronics-engineering.com
Archives CORBA

ACE TAO and Multicast Applications

https://www.electronics-engineering.com/fr/articolo_4395-ace_tao_e_applicazioni_multicast.htm

Cette page vous a-t-elle été utile ? Notez-la :
moyenne 4,0 sur 1 vote
ACE TAO and Multicast Applications

Cet article n'est pas encore disponible en français : vous lisez la version originale (anglais). La traduction française est en préparation.

Archived article: written in 2017 and no longer updated. Some information, software or links may be out of date.

DOWNLOAD: EXPERIMENT 5

This example describes multicast communication with CORBA. This communication is initialized with the nameservice using multicast IP addresses 239.x.x.x. Multicast communication uses the UDP protocol so it is used for all periodic communications without secure message reception.

EXAMPLE WITH MULTICAST COMMUNICATION REALIZED WITH VISUAL STUDIO 2005:

Compile the program of this link with Visual Studio 2005 Professional.
Launch Nameservice from cygwin with the following commands:

cd /cygdrive/c/ACE_wrappers/TAO/orbsvcs/Naming_Service $ ./Naming_Service -m 1 -ORBEndpoint iiop://localhost:12345 &

Now you have to launch the two client and server programs from
Two different terminals (cmd). First of all you need the two terminals
Go to the directory where the two executable files are present
(SimpleInterfaceClient.exe and SimpleInterfaceServer.exe) generated after the compilation was made earlier.

After that, launch the server first (from the first terminal):

SimpleInterfaceServer -ORBDottedDecimalAddresses 1 –ORBInitRef NameService=corbaloc:iiop:localhost:12345/NameService

And then launch the client (from the second terminal):

SimpleInterfaceServer -ORBDottedDecimalAddresses 1 –ORBInitRef NameService=corbaloc:iiop:localhost:12345/NameService

S’abonner
Notifier de
guest
5 commentaires
Le plus ancien
Plus récent Les plus votés
iElettronica
iElettronica
9 années il y a

i file ior sono i seguenti:
group1.ior:
corbaloc:miop:1.0@1.0-TestDomain-1/239.0.0.14:1234

group2.ior:
corbaloc:miop:1.0@1.0-TestDomain-2/239.0.0.14:1234

i file ior sono importanti solo dal lato server

iElettronica
iElettronica
9 années il y a

i file ior non servono se c’e’ in mezzo il naming service

iElettronica
iElettronica
9 années il y a

prima di eseguire un applicativo corba con multicast bisogna configurare appositamente i routers per poter supportare correttamente la comunicazione. il client (che in questo caso e’ un client corba) ha le librerie necessarie per poter eseguire il join al gruppo multicast usando il protocollo igmp. Chiaramente tutto questo viene nascosto dall’astraziolone delle librerie

iElettronica
iElettronica
9 années il y a

prima di utilizzare il codice di questa pagina bisogna compilare sotto VC++ 2008 le librerie ACE TAO 1.6a usando le istruzioni del seguente link: http://www.theaceorb.com/faq/index.html#HowToBuildACEandTAOonWindows

iElettronica
iElettronica
9 années il y a

il primo allegato e’ stato compilato in visual C++ 2008 e sono state utilizzate le librerie ACE TAO 1.6a.

5
0
Vous avez apprécié cet article ? Merci de laisser un commentaire.x