Example #1
0
 bool mqChannelReady( ChannelElementBase::shared_ptr channel) 
 {
   if (channel && channel->inputReady())
   {
     addMQConnection(channel);
     return true;
   }
   return false;
 }
Example #2
0
bool InputPortInterface::channelReady(ChannelElementBase::shared_ptr channel)
{
    if ( channel && channel->inputReady() )
        return true;
    if (channel)
        channel->disconnect(false);

    return false;
}