Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How can I get the target stream name by rtc sdk

I write a Pre-condition for RTC plug-in development using RTC-SDK.How can I get the target stream by java program when I am deliver changesets to target steam.. Now , I can get changeSets in problem.

Please give me an advise!

Thansk

0 votes

Comments

Sorry, last word is java program not problem.


Accepted answer

Permanent link
The AdvisableOperation has operation data where you can information about the delivery.

Use AdvisableOperation#getOperationData() to get the operation data and check if it is an instance of DeliverOperationData.

Then you can use that to #getDestWorkspace(). That will be the destination for the delivery.
silencehill wu selected this answer as the correct answer

1 vote

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,927

Question asked: Nov 01 '12, 1:02 p.m.

Question was seen: 3,755 times

Last updated: Nov 01 '12, 2:45 p.m.

Confirmation Cancel Confirm