~ubuntu-branches/ubuntu/utopic/mir/utopic-proposed

« back to all changes in this revision

Viewing changes to src/server/frontend/published_socket_connector.h

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release
  • Date: 2014-03-10 19:28:46 UTC
  • mto: This revision was merged to the branch mainline in revision 63.
  • Revision ID: package-import@ubuntu.com-20140310192846-rq9qm3ec26yrelo2
Tags: upstream-0.1.6+14.04.20140310
ImportĀ upstreamĀ versionĀ 0.1.6+14.04.20140310

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
    explicit BasicConnector(
51
51
        std::shared_ptr<SessionCreator> const& session_creator,
52
52
        int threads,
53
 
        std::function<void()> const& force_threads_to_unblock,
54
53
        std::shared_ptr<ConnectorReport> const& report);
55
54
    ~BasicConnector() noexcept;
56
55
    void start() override;
67
66
 
68
67
private:
69
68
    std::vector<std::thread> io_service_threads;
70
 
    std::function<void()> const force_threads_to_unblock;
71
69
    std::shared_ptr<SessionCreator> const session_creator;
72
70
};
73
71
 
79
77
        const std::string& socket_file,
80
78
        std::shared_ptr<SessionCreator> const& session_creator,
81
79
        int threads,
82
 
        std::function<void()> const& force_threads_to_unblock,
83
80
        std::shared_ptr<ConnectorReport> const& report);
84
81
    ~PublishedSocketConnector() noexcept;
85
82