public static function sendQueryMessage(ChannelInterface $channel, $adminCookie)
    {
        $channel->sendMessage(($channel instanceof SerializedChannel) ? new QueryMessage($adminCookie) : ['_query_' => $adminCookie]);
    }
public static function sendQueryMessage(ChannelInterface $channel, $adminCookie)
    {
        $channel->sendMessage(($channel instanceof SerializedChannel) ? new QueryMessage($adminCookie) : ['_query_' => $adminCookie]);
    }
@param ChannelInterface $channel
@param string           $adminCookie

@throws Exception\RuntimeException