hajoko
Posts: 46
Joined: Thu Dec 18, 2008 2:05 pm
Location: Germany
Contact: Website

sream - servicestream

Thu Jan 29, 2009 1:32 pm

hi Jonas,

when I define streams, I am not shure, what is the difference between franson.servicestream and io.stream.
In your sample, you cast them , but I dont understand the reason. events and properties seem to be identical. So, to keep sourcecode more transparent, is it possible, to prefere one of them all the time?

regards

hajoko

Jonas
Posts: 2319
Joined: Mon Jan 09, 2006 2:20 pm
Location: Sweden

RE: sream - servicestream

Thu Jan 29, 2009 3:18 pm

ServiceStream is inherited from Stream, it's as simple as that.

Regards,
Jonas

hajoko
Posts: 46
Joined: Thu Dec 18, 2008 2:05 pm
Location: Germany
Contact: Website

RE: sream - servicestream

Thu Jan 29, 2009 4:14 pm

this might be easier for you than for me, for I'm not a professional:-)

inherits means, it is only an instance of the original, so in the end it does'nt care, how to use it?

regards

hajoko

Return to “BlueTools”