Index: ceee/ie/broker/broker_rpc_lib.idl |
=================================================================== |
--- ceee/ie/broker/broker_rpc_lib.idl (revision 67655) |
+++ ceee/ie/broker/broker_rpc_lib.idl (working copy) |
@@ -12,38 +12,43 @@ |
// Context handle to allow server maintain number of active clients. |
typedef [context_handle] void* BrokerContextHandle; |
+// XP does not accepte endpont name longer that 52. |
+const int kMaxEndpointSize = 52; |
+ |
+// Gets endpoint uniq to this instance of server. |
Sigurður Ásgeirsson
2010/11/30 13:47:48
uniq->unique
Vitaly Buka (NO REVIEWS)
2010/12/01 01:20:12
Done.
|
+// Returns length of endpoint. Check if this value is less or equal to max_size. |
+// @param max_size array's size to accept endpint. |
+// @param endpint pointer to array to accept endpint. |
+int GetServerEndpoint([in, range(0, kMaxEndpointSize + 1)] int max_size, |
+ [out, size_is(max_size), string] wchar_t* endpoint); |
+ |
// @name Implementation specific calls. |
// @{ |
// Returns context handle for new client. |
-BrokerContextHandle Connect( |
- [in] handle_t binding_handle); |
+BrokerContextHandle Connect( [in] handle_t binding_handle); |
// Release context handle. |
-void Disconnect( |
- [in] handle_t binding_handle, |
- [in, out] BrokerContextHandle* context); |
+void Disconnect([in] handle_t binding_handle, |
+ [in, out] BrokerContextHandle* context); |
// @} |
// @name Remote calls. |
// @{ |
// Fires event to broker. |
-void FireEvent( |
- [in] handle_t binding_handle, |
- [in, string] const char* event_name, |
- [in, string] const char* event_args); |
+void FireEvent([in] handle_t binding_handle, |
+ [in, string] const char* event_name, |
+ [in, string] const char* event_args); |
-void SendUmaHistogramTimes( |
- [in] handle_t binding_handle, |
- [in, string] const char* name, |
- [in] int sample); |
+void SendUmaHistogramTimes([in] handle_t binding_handle, |
+ [in, string] const char* name, |
+ [in] int sample); |
-void SendUmaHistogramData( |
- [in] handle_t binding_handle, |
- [in, string] const char* name, |
- [in] int sample, |
- [in] int min, |
- [in] int max, |
- [in] int bucket_count); |
+void SendUmaHistogramData([in] handle_t binding_handle, |
+ [in, string] const char* name, |
+ [in] int sample, |
+ [in] int min, |
+ [in] int max, |
+ [in] int bucket_count); |
// @} |
} |