Skip navigation
Currently Being Moderated

Dealing with netConnection in Commands (for FMS,red5, etc..)

Apr 28, 2011 9:39 AM

Hi all,

 

I'm learning the new Cainrgorm and I succeed in understanding remote object and httpService call in Commands.

 

But how can I deal with netConnection ? NetConnection.connect() does not return an asynctoken.

 

Do I have to make my own service component, with asynctoken support and declare it in my context, like with httpService ?

 

Maybe Commands are not the good place to communicate with FMS ? What about tasks ?

 

I really spent many hours searching for someone having facing the same problem, but without success...

 

I think I don't really understand the AsyncToken concept... I tried to make my "execute" method to return an asynctoken objet, but my CommandResult method is never called...

 

Can you help me ?

 

And please consider I'm french, so I don't master english, so please be simple in your answer...

 

Thanks

 
Replies

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