Index: ceee/ie/broker/broker_rpc_server.h |
=================================================================== |
--- ceee/ie/broker/broker_rpc_server.h (revision 0) |
+++ ceee/ie/broker/broker_rpc_server.h (revision 0) |
@@ -0,0 +1,30 @@ |
+// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+// |
+// Broker RPC Server. |
+#include "base/basictypes.h" |
+ |
+// Serving requests from BrokerRpcClient. |
+class BrokerRpcServer { |
Sigurður Ásgeirsson
2010/11/11 19:30:35
it looks like this class is intended for single-th
Vitaly Buka corp
2010/11/11 23:12:10
Done.
|
+ public: |
+ BrokerRpcServer(); |
+ ~BrokerRpcServer(); |
+ |
+ // Registers RPC interface and starts listening for requests. |
+ bool Start(); |
+ |
+ // Unregister RPC interface. |
+ bool Stop(); |
+ |
+ // Returns true if object is listening. |
+ bool is_started() const { |
+ return is_started_; |
+ } |
+ |
+ private: |
+ // State of object. |
+ bool is_started_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(BrokerRpcServer); |
+}; |
Property changes on: ceee\ie\broker\broker_rpc_server.h |
___________________________________________________________________ |
Added: svn:eol-style |
+ LF |