Skip navigation
Currently Being Moderated

Understanding Channels

Nov 1, 2013 1:58 PM

Tags: #lcds #data_services

If I have a bunch of different data services object, each data service object DOES NOT need to have a new RTMP Channel correct?

 

What is the benefit of adding a new RTMP channel to the channelset of dataservice object? Should I not have one or two channels setup on a channelset and ensure each dataservice uses that channelset?   Does each dataservice need to be assigned a channelset?   The destination point is fixed and is only one server.

 

 

 

I will always have something like this..
var myAC:ArrayCollection = new ArrayCollection;

var myDS:DataService = new DataService("myDSInfo");

myDS.autoCommit = false;

 

I would not need to do this for each dataservice correct?

var rtmpChannel:RTMPChannel = new RTMPChannel("my-rtmp", myServer);

var channelSet:ChannelSet = new ChannelSet();

channelSet.addChannel(rtmpChannel);

myDS.channelSet = channelSet;

 

 

Any insight on this would be great. 

 
Replies
  • Currently Being Moderated
    Nov 16, 2013 4:31 AM   in reply to Ukie

    yes!, look into dataservices-samples.war samples in LCDS install folder.

     

    dataservices-samples.war\salesbuilder.

    source for this is under  dataservices-samples.war\WEB-INF\flex-src

     

    look into this - flex-src.zip\salesbuilder\src\com\adobe\sample\salesbuilder\util

    study this DataSreviceHelper.as and ChannelManager.as

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points