Lines Matching defs:channel
44 PortConnection::Init(Channel* channel, int32 upStreamChannels,
47 ObjectDeleter<Channel> deleter(channel);
51 // add the channel
52 error = AddDownStreamChannel(channel);
78 // create a client channel
79 PortChannel* channel;
80 error = _CreateChannel(&channel);
83 // add it as up stream channel
84 error = AddUpStreamChannel(channel);
86 delete channel;
94 channel->GetInfo(&request.channelInfo);
100 error = channel->Receive(&reply, sizeof(ConnectReply));
116 // create a channel
121 // add the channel
134 error = channel->Send(infos, sizeof(PortChannel::Info) * (allChannels - 1));
144 // get the down stream channel
145 Channel* channel = DownStreamChannelAt(0);
146 if (!channel)
153 status_t error = channel->Send(&reply, sizeof(ConnectReply));
156 // receive the channel infos
163 error = channel->Receive(infos,
169 // create a channel
174 // add the channel
192 PortChannel* channel = (info ? new(std::nothrow) PortChannel(info, inverse)
194 if (!channel)
196 status_t error = channel->InitCheck();
198 delete channel;
201 *_channel = channel;