Request-Reply

2 posts / 0 new
Last post
Offline
Last seen: 6 years 4 months ago
Joined: 10/18/2017
Posts: 13
Modern C++ Request-Reply pattern

Hello everyone,

I was wondering if the Request-Reply pattern will be available for Modern C++ (C++11).

In this forum I read that it should have been available with the 2017 RTI major realease (I guess it is the 5.3.0) but it isn't.

Always in this forum I found a way to implement a Request-Reply pattern in C++11 using the additional library "rticonnextmsgcpp2z.lib" but I know that this library is not supported yet, but just a prototype (is it true?).

2 posts / 0 new
Last post
Offline
Last seen: 8 years 8 months ago
Joined: 06/01/2015
Posts: 1
Request Replier issue

Hi,

Keywords:
5 posts / 0 new
Last post
Offline
Last seen: 8 years 7 months ago
Joined: 03/06/2015
Posts: 7
Data sporadically not arriving (Request Reply)

I tried the Request-Reply-Example which is in the C++ example folder of RTI 5.1.0.

If I use the Requester in a command window (Ubuntu 12.04) and the Replier in another command windows on the same machine,

the Requester sporadically (can be the second time or the 20. time I send a request) doesn't get the data from the Replier. But the Replier gets the request and says that he replied (in the command window).

 

1 post / 0 new
Offline
Last seen: 6 years 10 months ago
Joined: 03/03/2015
Posts: 19
Send String Arrays using Dynamic Data and Request-Reply pattern

Hello,

I am a bit new to DDS. I am curently working with the request/reply pattern. I successfully managed to send requests and replies containing primitive types of data such as char, long, int, etc. What I am not trying to do is sending some string array with the request reply pattern and using Dynamic Data as the string array I'm trying to send must be custom made. Until now I managed to do something like this:

 

//Register the type support for creating string arrays

DDS_TypeCode* type = factory->create_struct_tc("MyType", structMembers, out_exc);

2 posts / 0 new
Last post
Offline
Last seen: 1 year 2 months ago
Joined: 09/12/2014
Posts: 6
Request-Reply API

My request application crashes after my reply application restarts.

Visual Studio 2008 give me this error

Unhandled exception at 0x755b812f in MyRRTest.exe: Microsoft C++ exception: connext::AlreadyDeletedException at memory location 0x0012e668..

In my request application console

EntityUntypedImpl::send_sample:!DataWriter write timeout

Requester(setMyRequest, setMyReply)::send_request:!failed (see previous errors)

wondering what may cause this issue?

Keywords:

Communication Patterns Using Data-Centric Publish/Subscribe

Fundamental to any distributed system are communication patterns: point-to-point, request-reply, transactional queues, and publish-subscribe. Large distributed systems often employ two or more communication patterns. Using a single middleware that supports multiple communication patterns is a very cost-effective way of developing and maintaining large distributed systems. This talk will begin with an introduction of Data Distribution Service (DDS) – an OMG standard – that supports data-centric publish-subscribe communication for real-time distributed systems.

Author:
Conference or Venue:
Subscribe to RSS - Request-Reply