sid=channel->Sid();
if (channel) sid=channel->Sid(); else sid=0;
namespace Service {TransportStream::TransportStream(const cChannel *channel) {   data.source=channel->Source();   data.onid=channel->Nid();   data.tid=channel->Tid();}ServiceIDAdapter::ServiceIDAdapter(const cChannel *channel)   : TransportStream(channel){   sid=channel->Sid();}