Jump to content
OpenSplice DDS Forum
banditpig

Config question.

Recommended Posts

We have an existing DDS application using V.5.4.1OSS x86.win32 which is running on a local network. Here is its config file.

---------------------

<OpenSplice>
    <Domain>
        <Name>IntegrationJ</Name>
        <Database>
            <Size>204857600</Size>
        </Database>
        <Lease>
            <ExpiryTime update_factor="0.05">60.0</ExpiryTime>
        </Lease>
        <Service name="networking">
            <Command>networking.exe</Command>
        </Service>
        <Service name="durability">
            <Command>durability.exe</Command>
        </Service>
    </Domain>
    <NetworkService name="networking">
        <Partitioning>
            <GlobalPartition Address="broadcast"/>
        </Partitioning>
        <Channels>
            <Channel default="true" enabled="true" name="BestEffort" reliable="false">
                <PortNr>54370</PortNr>
            </Channel>
            <Channel enabled="true" name="Reliable" reliable="true">
                <PortNr>54380</PortNr>
            </Channel>
        </Channels>
        <Discovery enabled="true">
            <PortNr>54390</PortNr>
        </Discovery>
        <General>
            <!-- Needed only if you have multiple network cards  -->
            <NetworkInterfaceAddress>192.168.101.11</NetworkInterfaceAddress>
        </General>
    </NetworkService>
    <DurabilityService name="durability">
        <Network>
            <InitialDiscoveryPeriod>2.0</InitialDiscoveryPeriod>
            <Alignment>
                <TimeAlignment>FALSE</TimeAlignment>
                <RequestCombinePeriod>
                    <Initial>2.5</Initial>
                    <Operational>0.1</Operational>
                </RequestCombinePeriod>
            </Alignment>
            <WaitForAttachment maxWaitCount="10">
                <ServiceName>networking</ServiceName>
            </WaitForAttachment>
        </Network>
        <NameSpaces>
            <NameSpace name="defaultNamespace">
                <Partition>*</Partition>
            </NameSpace>
            <Policy nameSpace="defaultNamespace" durability="Durable" alignee="Initial" aligner="True"/>
        </NameSpaces>
    </DurabilityService>
</OpenSplice>


--------------------------------------

 

I have written various classes (c#) to read/write the topics that the above system uses. My classes are using

Vortex OpenSplice HDE Release 6.9.190403OSS For x86_64.win64, Date 2019-04-03

My question  is what should I have in my configuration file so that my classes can interact with the 'main' system?

Many thanks

Mike

 

Share this post


Link to post
Share on other sites

versions 5.4 and 6.9 are of different 'major releases' (5 and 6) and (only) in that case (i.e .when upgrading to a new major-release, something that happens like only every 5 to 10 years) we take the liberty of doing things that are NOT backwards compatible (as otherwise progress/innovation/spec-evolution would be blocked).

So as it happens there's a few new things introduced in V6 that are backwards incompabitle with V5 (at least w.r.t. the community-editions) most notably the 'promotion' of the DDSI protocol as 'the standard' and with not offer our native-networking anymore as part of the community-edition (our commercially supported version still includes native-networking as we have many customers that rely on continued support over several decades).

So the quick answer is that you should either stick to 5.4 for all your applications (yet I'm not sure if C# was properly support already in 5.4) or move all your applications (of your 'main' system) to 6.9. (which I'd suggest as the proper way forward) or even the licensed/commercially-supported latest 6.10 release :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...