Index: mojo/dart/packages/mojo_services/lib/mojo/udp_socket.mojom.dart |
diff --git a/mojo/dart/packages/mojo_services/lib/mojo/udp_socket.mojom.dart b/mojo/dart/packages/mojo_services/lib/mojo/udp_socket.mojom.dart |
index 6d8c496b6522e51287608e36aafc2b02fe5d11fd..a24b4c96bc8768af0190873b581eced0bb1d3100 100644 |
--- a/mojo/dart/packages/mojo_services/lib/mojo/udp_socket.mojom.dart |
+++ b/mojo/dart/packages/mojo_services/lib/mojo/udp_socket.mojom.dart |
@@ -8,6 +8,8 @@ import 'dart:async'; |
import 'package:mojo/bindings.dart' as bindings; |
import 'package:mojo/core.dart' as core; |
+import 'package:mojo/mojo/bindings/types/mojom_types.mojom.dart' as mojom_types; |
+import 'package:mojo/mojo/bindings/types/service_describer.mojom.dart' as service_describer; |
import 'package:mojo/mojo/network_error.mojom.dart' as network_error_mojom; |
import 'package:mojo_services/mojo/net_address.mojom.dart' as net_address_mojom; |
@@ -71,6 +73,8 @@ class _UdpSocketAllowAddressReuseParams extends bindings.Struct { |
} |
+ |
+ |
class UdpSocketAllowAddressReuseResponseParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -139,6 +143,8 @@ class UdpSocketAllowAddressReuseResponseParams extends bindings.Struct { |
} |
+ |
+ |
class _UdpSocketBindParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -207,6 +213,8 @@ class _UdpSocketBindParams extends bindings.Struct { |
} |
+ |
+ |
class UdpSocketBindResponseParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(32, 0) |
@@ -291,6 +299,8 @@ class UdpSocketBindResponseParams extends bindings.Struct { |
} |
+ |
+ |
class _UdpSocketConnectParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -359,6 +369,8 @@ class _UdpSocketConnectParams extends bindings.Struct { |
} |
+ |
+ |
class UdpSocketConnectResponseParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(32, 0) |
@@ -443,6 +455,8 @@ class UdpSocketConnectResponseParams extends bindings.Struct { |
} |
+ |
+ |
class _UdpSocketSetSendBufferSizeParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -510,6 +524,8 @@ class _UdpSocketSetSendBufferSizeParams extends bindings.Struct { |
} |
+ |
+ |
class UdpSocketSetSendBufferSizeResponseParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -578,6 +594,8 @@ class UdpSocketSetSendBufferSizeResponseParams extends bindings.Struct { |
} |
+ |
+ |
class _UdpSocketSetReceiveBufferSizeParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -645,6 +663,8 @@ class _UdpSocketSetReceiveBufferSizeParams extends bindings.Struct { |
} |
+ |
+ |
class UdpSocketSetReceiveBufferSizeResponseParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -713,6 +733,8 @@ class UdpSocketSetReceiveBufferSizeResponseParams extends bindings.Struct { |
} |
+ |
+ |
class _UdpSocketNegotiateMaxPendingSendRequestsParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -780,6 +802,8 @@ class _UdpSocketNegotiateMaxPendingSendRequestsParams extends bindings.Struct { |
} |
+ |
+ |
class UdpSocketNegotiateMaxPendingSendRequestsResponseParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -847,6 +871,8 @@ class UdpSocketNegotiateMaxPendingSendRequestsResponseParams extends bindings.St |
} |
+ |
+ |
class _UdpSocketReceiveMoreParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -914,6 +940,8 @@ class _UdpSocketReceiveMoreParams extends bindings.Struct { |
} |
+ |
+ |
class _UdpSocketSendToParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(24, 0) |
@@ -991,6 +1019,8 @@ class _UdpSocketSendToParams extends bindings.Struct { |
} |
+ |
+ |
class UdpSocketSendToResponseParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -1059,6 +1089,8 @@ class UdpSocketSendToResponseParams extends bindings.Struct { |
} |
+ |
+ |
class _UdpSocketReceiverOnReceivedParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(32, 0) |
@@ -1145,6 +1177,9 @@ class _UdpSocketReceiverOnReceivedParams extends bindings.Struct { |
} |
} |
+ |
+ |
+ |
const int _UdpSocket_allowAddressReuseName = 0; |
const int _UdpSocket_bindName = 1; |
const int _UdpSocket_connectName = 2; |
@@ -1154,6 +1189,16 @@ const int _UdpSocket_negotiateMaxPendingSendRequestsName = 5; |
const int _UdpSocket_receiveMoreName = 6; |
const int _UdpSocket_sendToName = 7; |
+ |
+ |
+class _UdpSocketServiceDescription implements service_describer.ServiceDescription { |
+ dynamic getTopLevelInterface([Function responseFactory]) => null; |
+ |
+ dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => null; |
+ |
+ dynamic getAllTypeDefinitions([Function responseFactory]) => null; |
+} |
+ |
abstract class UdpSocket { |
static const String serviceName = null; |
dynamic allowAddressReuse([Function responseFactory = null]); |
@@ -1182,6 +1227,9 @@ class _UdpSocketProxyImpl extends bindings.Proxy { |
return new _UdpSocketProxyImpl.fromEndpoint(endpoint); |
} |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _UdpSocketServiceDescription(); |
+ |
void handleResponse(bindings.ServiceMessage message) { |
switch (message.header.type) { |
case _UdpSocket_allowAddressReuseName: |
@@ -1721,10 +1769,23 @@ class UdpSocketStub extends bindings.Stub { |
} |
int get version => 0; |
+ |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _UdpSocketServiceDescription(); |
} |
const int _UdpSocketReceiver_onReceivedName = 0; |
+ |
+ |
+class _UdpSocketReceiverServiceDescription implements service_describer.ServiceDescription { |
+ dynamic getTopLevelInterface([Function responseFactory]) => null; |
+ |
+ dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => null; |
+ |
+ dynamic getAllTypeDefinitions([Function responseFactory]) => null; |
+} |
+ |
abstract class UdpSocketReceiver { |
static const String serviceName = null; |
void onReceived(network_error_mojom.NetworkError result, net_address_mojom.NetAddress srcAddr, List<int> data); |
@@ -1746,6 +1807,9 @@ class _UdpSocketReceiverProxyImpl extends bindings.Proxy { |
return new _UdpSocketReceiverProxyImpl.fromEndpoint(endpoint); |
} |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _UdpSocketReceiverServiceDescription(); |
+ |
void handleResponse(bindings.ServiceMessage message) { |
switch (message.header.type) { |
default: |
@@ -1891,6 +1955,10 @@ class UdpSocketReceiverStub extends bindings.Stub { |
} |
int get version => 0; |
+ |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _UdpSocketReceiverServiceDescription(); |
} |
+ |