It's all about the answers!

Ask a question

How to listen to "Deliver" events on client side in RTC 4 & 5

Gidi Gal (962054) | asked Sep 10 '14, 1:27 p.m.
edited Sep 10 '14, 1:29 p.m.
Hello to the forum members,

I'd like to perform some action at client side when change-set is being delivered to a certain stream. I am looking for the right event to listen to. I found the event which contains the constant DELIVER. According to example code in the SDK, the following code should do the trick:

final IWorkspaceConnection wksCon;
//Some code to set wksCon with value.
wksCon.addGenericListener(IChangeHistoryEvent.DELIVER, new MyListener());
//Assuming MyListener implements

I tried this code, but it does not react to deliver events. If anyone has experience in this area I'll be grateful for your comments.


Accepted answer

permanent link
Ralph Schoon (62.9k33645) | answered Sep 11 '14, 4:20 a.m.

If this is closely related to the deliver operation itself,you could use a participant, instead of listening to an event. describes the existing extension points.There is one for the client as well as the server.
Gidi Gal selected this answer as the correct answer

One other answer

permanent link
Gidi Gal (962054) | answered Sep 16 '14, 5:41 a.m.
Thanks for your help, Ralph. I succeeded writing the requested behavior for extension point and operationId

Your answer

Register or to post your answer.