OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 library udp_socket_mojom; | 5 library udp_socket_mojom; |
6 import 'dart:async'; | 6 import 'dart:async'; |
7 import 'package:mojo/bindings.dart' as bindings; | 7 import 'package:mojo/bindings.dart' as bindings; |
8 import 'package:mojo/core.dart' as core; | 8 import 'package:mojo/core.dart' as core; |
9 import 'package:mojo/mojo/bindings/types/service_describer.mojom.dart' as servic
e_describer; | 9 import 'package:mojo/mojo/bindings/types/service_describer.mojom.dart' as servic
e_describer; |
10 import 'package:mojo/mojo/network_error.mojom.dart' as network_error_mojom; | 10 import 'package:mojo/mojo/network_error.mojom.dart' as network_error_mojom; |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 return "_UdpSocketAllowAddressReuseParams("")"; | 63 return "_UdpSocketAllowAddressReuseParams("")"; |
64 } | 64 } |
65 | 65 |
66 Map toJson() { | 66 Map toJson() { |
67 Map map = new Map(); | 67 Map map = new Map(); |
68 return map; | 68 return map; |
69 } | 69 } |
70 } | 70 } |
71 | 71 |
72 | 72 |
73 | |
74 | |
75 class UdpSocketAllowAddressReuseResponseParams extends bindings.Struct { | 73 class UdpSocketAllowAddressReuseResponseParams extends bindings.Struct { |
76 static const List<bindings.StructDataHeader> kVersions = const [ | 74 static const List<bindings.StructDataHeader> kVersions = const [ |
77 const bindings.StructDataHeader(16, 0) | 75 const bindings.StructDataHeader(16, 0) |
78 ]; | 76 ]; |
79 network_error_mojom.NetworkError result = null; | 77 network_error_mojom.NetworkError result = null; |
80 | 78 |
81 UdpSocketAllowAddressReuseResponseParams() : super(kVersions.last.size); | 79 UdpSocketAllowAddressReuseResponseParams() : super(kVersions.last.size); |
82 | 80 |
83 static UdpSocketAllowAddressReuseResponseParams deserialize(bindings.Message m
essage) { | 81 static UdpSocketAllowAddressReuseResponseParams deserialize(bindings.Message m
essage) { |
84 var decoder = new bindings.Decoder(message); | 82 var decoder = new bindings.Decoder(message); |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 } | 136 } |
139 | 137 |
140 Map toJson() { | 138 Map toJson() { |
141 Map map = new Map(); | 139 Map map = new Map(); |
142 map["result"] = result; | 140 map["result"] = result; |
143 return map; | 141 return map; |
144 } | 142 } |
145 } | 143 } |
146 | 144 |
147 | 145 |
148 | |
149 | |
150 class _UdpSocketBindParams extends bindings.Struct { | 146 class _UdpSocketBindParams extends bindings.Struct { |
151 static const List<bindings.StructDataHeader> kVersions = const [ | 147 static const List<bindings.StructDataHeader> kVersions = const [ |
152 const bindings.StructDataHeader(16, 0) | 148 const bindings.StructDataHeader(16, 0) |
153 ]; | 149 ]; |
154 net_address_mojom.NetAddress addr = null; | 150 net_address_mojom.NetAddress addr = null; |
155 | 151 |
156 _UdpSocketBindParams() : super(kVersions.last.size); | 152 _UdpSocketBindParams() : super(kVersions.last.size); |
157 | 153 |
158 static _UdpSocketBindParams deserialize(bindings.Message message) { | 154 static _UdpSocketBindParams deserialize(bindings.Message message) { |
159 var decoder = new bindings.Decoder(message); | 155 var decoder = new bindings.Decoder(message); |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 } | 209 } |
214 | 210 |
215 Map toJson() { | 211 Map toJson() { |
216 Map map = new Map(); | 212 Map map = new Map(); |
217 map["addr"] = addr; | 213 map["addr"] = addr; |
218 return map; | 214 return map; |
219 } | 215 } |
220 } | 216 } |
221 | 217 |
222 | 218 |
223 | |
224 | |
225 class UdpSocketBindResponseParams extends bindings.Struct { | 219 class UdpSocketBindResponseParams extends bindings.Struct { |
226 static const List<bindings.StructDataHeader> kVersions = const [ | 220 static const List<bindings.StructDataHeader> kVersions = const [ |
227 const bindings.StructDataHeader(32, 0) | 221 const bindings.StructDataHeader(32, 0) |
228 ]; | 222 ]; |
229 network_error_mojom.NetworkError result = null; | 223 network_error_mojom.NetworkError result = null; |
230 net_address_mojom.NetAddress boundAddr = null; | 224 net_address_mojom.NetAddress boundAddr = null; |
231 Object receiver = null; | 225 Object receiver = null; |
232 | 226 |
233 UdpSocketBindResponseParams() : super(kVersions.last.size); | 227 UdpSocketBindResponseParams() : super(kVersions.last.size); |
234 | 228 |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 "receiver: $receiver" ")"; | 308 "receiver: $receiver" ")"; |
315 } | 309 } |
316 | 310 |
317 Map toJson() { | 311 Map toJson() { |
318 throw new bindings.MojoCodecError( | 312 throw new bindings.MojoCodecError( |
319 'Object containing handles cannot be encoded to JSON.'); | 313 'Object containing handles cannot be encoded to JSON.'); |
320 } | 314 } |
321 } | 315 } |
322 | 316 |
323 | 317 |
324 | |
325 | |
326 class _UdpSocketConnectParams extends bindings.Struct { | 318 class _UdpSocketConnectParams extends bindings.Struct { |
327 static const List<bindings.StructDataHeader> kVersions = const [ | 319 static const List<bindings.StructDataHeader> kVersions = const [ |
328 const bindings.StructDataHeader(16, 0) | 320 const bindings.StructDataHeader(16, 0) |
329 ]; | 321 ]; |
330 net_address_mojom.NetAddress remoteAddr = null; | 322 net_address_mojom.NetAddress remoteAddr = null; |
331 | 323 |
332 _UdpSocketConnectParams() : super(kVersions.last.size); | 324 _UdpSocketConnectParams() : super(kVersions.last.size); |
333 | 325 |
334 static _UdpSocketConnectParams deserialize(bindings.Message message) { | 326 static _UdpSocketConnectParams deserialize(bindings.Message message) { |
335 var decoder = new bindings.Decoder(message); | 327 var decoder = new bindings.Decoder(message); |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 } | 381 } |
390 | 382 |
391 Map toJson() { | 383 Map toJson() { |
392 Map map = new Map(); | 384 Map map = new Map(); |
393 map["remoteAddr"] = remoteAddr; | 385 map["remoteAddr"] = remoteAddr; |
394 return map; | 386 return map; |
395 } | 387 } |
396 } | 388 } |
397 | 389 |
398 | 390 |
399 | |
400 | |
401 class UdpSocketConnectResponseParams extends bindings.Struct { | 391 class UdpSocketConnectResponseParams extends bindings.Struct { |
402 static const List<bindings.StructDataHeader> kVersions = const [ | 392 static const List<bindings.StructDataHeader> kVersions = const [ |
403 const bindings.StructDataHeader(32, 0) | 393 const bindings.StructDataHeader(32, 0) |
404 ]; | 394 ]; |
405 network_error_mojom.NetworkError result = null; | 395 network_error_mojom.NetworkError result = null; |
406 net_address_mojom.NetAddress localAddr = null; | 396 net_address_mojom.NetAddress localAddr = null; |
407 Object receiver = null; | 397 Object receiver = null; |
408 | 398 |
409 UdpSocketConnectResponseParams() : super(kVersions.last.size); | 399 UdpSocketConnectResponseParams() : super(kVersions.last.size); |
410 | 400 |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
490 "receiver: $receiver" ")"; | 480 "receiver: $receiver" ")"; |
491 } | 481 } |
492 | 482 |
493 Map toJson() { | 483 Map toJson() { |
494 throw new bindings.MojoCodecError( | 484 throw new bindings.MojoCodecError( |
495 'Object containing handles cannot be encoded to JSON.'); | 485 'Object containing handles cannot be encoded to JSON.'); |
496 } | 486 } |
497 } | 487 } |
498 | 488 |
499 | 489 |
500 | |
501 | |
502 class _UdpSocketSetSendBufferSizeParams extends bindings.Struct { | 490 class _UdpSocketSetSendBufferSizeParams extends bindings.Struct { |
503 static const List<bindings.StructDataHeader> kVersions = const [ | 491 static const List<bindings.StructDataHeader> kVersions = const [ |
504 const bindings.StructDataHeader(16, 0) | 492 const bindings.StructDataHeader(16, 0) |
505 ]; | 493 ]; |
506 int size = 0; | 494 int size = 0; |
507 | 495 |
508 _UdpSocketSetSendBufferSizeParams() : super(kVersions.last.size); | 496 _UdpSocketSetSendBufferSizeParams() : super(kVersions.last.size); |
509 | 497 |
510 static _UdpSocketSetSendBufferSizeParams deserialize(bindings.Message message)
{ | 498 static _UdpSocketSetSendBufferSizeParams deserialize(bindings.Message message)
{ |
511 var decoder = new bindings.Decoder(message); | 499 var decoder = new bindings.Decoder(message); |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
564 } | 552 } |
565 | 553 |
566 Map toJson() { | 554 Map toJson() { |
567 Map map = new Map(); | 555 Map map = new Map(); |
568 map["size"] = size; | 556 map["size"] = size; |
569 return map; | 557 return map; |
570 } | 558 } |
571 } | 559 } |
572 | 560 |
573 | 561 |
574 | |
575 | |
576 class UdpSocketSetSendBufferSizeResponseParams extends bindings.Struct { | 562 class UdpSocketSetSendBufferSizeResponseParams extends bindings.Struct { |
577 static const List<bindings.StructDataHeader> kVersions = const [ | 563 static const List<bindings.StructDataHeader> kVersions = const [ |
578 const bindings.StructDataHeader(16, 0) | 564 const bindings.StructDataHeader(16, 0) |
579 ]; | 565 ]; |
580 network_error_mojom.NetworkError result = null; | 566 network_error_mojom.NetworkError result = null; |
581 | 567 |
582 UdpSocketSetSendBufferSizeResponseParams() : super(kVersions.last.size); | 568 UdpSocketSetSendBufferSizeResponseParams() : super(kVersions.last.size); |
583 | 569 |
584 static UdpSocketSetSendBufferSizeResponseParams deserialize(bindings.Message m
essage) { | 570 static UdpSocketSetSendBufferSizeResponseParams deserialize(bindings.Message m
essage) { |
585 var decoder = new bindings.Decoder(message); | 571 var decoder = new bindings.Decoder(message); |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
639 } | 625 } |
640 | 626 |
641 Map toJson() { | 627 Map toJson() { |
642 Map map = new Map(); | 628 Map map = new Map(); |
643 map["result"] = result; | 629 map["result"] = result; |
644 return map; | 630 return map; |
645 } | 631 } |
646 } | 632 } |
647 | 633 |
648 | 634 |
649 | |
650 | |
651 class _UdpSocketSetReceiveBufferSizeParams extends bindings.Struct { | 635 class _UdpSocketSetReceiveBufferSizeParams extends bindings.Struct { |
652 static const List<bindings.StructDataHeader> kVersions = const [ | 636 static const List<bindings.StructDataHeader> kVersions = const [ |
653 const bindings.StructDataHeader(16, 0) | 637 const bindings.StructDataHeader(16, 0) |
654 ]; | 638 ]; |
655 int size = 0; | 639 int size = 0; |
656 | 640 |
657 _UdpSocketSetReceiveBufferSizeParams() : super(kVersions.last.size); | 641 _UdpSocketSetReceiveBufferSizeParams() : super(kVersions.last.size); |
658 | 642 |
659 static _UdpSocketSetReceiveBufferSizeParams deserialize(bindings.Message messa
ge) { | 643 static _UdpSocketSetReceiveBufferSizeParams deserialize(bindings.Message messa
ge) { |
660 var decoder = new bindings.Decoder(message); | 644 var decoder = new bindings.Decoder(message); |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
713 } | 697 } |
714 | 698 |
715 Map toJson() { | 699 Map toJson() { |
716 Map map = new Map(); | 700 Map map = new Map(); |
717 map["size"] = size; | 701 map["size"] = size; |
718 return map; | 702 return map; |
719 } | 703 } |
720 } | 704 } |
721 | 705 |
722 | 706 |
723 | |
724 | |
725 class UdpSocketSetReceiveBufferSizeResponseParams extends bindings.Struct { | 707 class UdpSocketSetReceiveBufferSizeResponseParams extends bindings.Struct { |
726 static const List<bindings.StructDataHeader> kVersions = const [ | 708 static const List<bindings.StructDataHeader> kVersions = const [ |
727 const bindings.StructDataHeader(16, 0) | 709 const bindings.StructDataHeader(16, 0) |
728 ]; | 710 ]; |
729 network_error_mojom.NetworkError result = null; | 711 network_error_mojom.NetworkError result = null; |
730 | 712 |
731 UdpSocketSetReceiveBufferSizeResponseParams() : super(kVersions.last.size); | 713 UdpSocketSetReceiveBufferSizeResponseParams() : super(kVersions.last.size); |
732 | 714 |
733 static UdpSocketSetReceiveBufferSizeResponseParams deserialize(bindings.Messag
e message) { | 715 static UdpSocketSetReceiveBufferSizeResponseParams deserialize(bindings.Messag
e message) { |
734 var decoder = new bindings.Decoder(message); | 716 var decoder = new bindings.Decoder(message); |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
788 } | 770 } |
789 | 771 |
790 Map toJson() { | 772 Map toJson() { |
791 Map map = new Map(); | 773 Map map = new Map(); |
792 map["result"] = result; | 774 map["result"] = result; |
793 return map; | 775 return map; |
794 } | 776 } |
795 } | 777 } |
796 | 778 |
797 | 779 |
798 | |
799 | |
800 class _UdpSocketNegotiateMaxPendingSendRequestsParams extends bindings.Struct { | 780 class _UdpSocketNegotiateMaxPendingSendRequestsParams extends bindings.Struct { |
801 static const List<bindings.StructDataHeader> kVersions = const [ | 781 static const List<bindings.StructDataHeader> kVersions = const [ |
802 const bindings.StructDataHeader(16, 0) | 782 const bindings.StructDataHeader(16, 0) |
803 ]; | 783 ]; |
804 int requestedSize = 0; | 784 int requestedSize = 0; |
805 | 785 |
806 _UdpSocketNegotiateMaxPendingSendRequestsParams() : super(kVersions.last.size)
; | 786 _UdpSocketNegotiateMaxPendingSendRequestsParams() : super(kVersions.last.size)
; |
807 | 787 |
808 static _UdpSocketNegotiateMaxPendingSendRequestsParams deserialize(bindings.Me
ssage message) { | 788 static _UdpSocketNegotiateMaxPendingSendRequestsParams deserialize(bindings.Me
ssage message) { |
809 var decoder = new bindings.Decoder(message); | 789 var decoder = new bindings.Decoder(message); |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
862 } | 842 } |
863 | 843 |
864 Map toJson() { | 844 Map toJson() { |
865 Map map = new Map(); | 845 Map map = new Map(); |
866 map["requestedSize"] = requestedSize; | 846 map["requestedSize"] = requestedSize; |
867 return map; | 847 return map; |
868 } | 848 } |
869 } | 849 } |
870 | 850 |
871 | 851 |
872 | |
873 | |
874 class UdpSocketNegotiateMaxPendingSendRequestsResponseParams extends bindings.St
ruct { | 852 class UdpSocketNegotiateMaxPendingSendRequestsResponseParams extends bindings.St
ruct { |
875 static const List<bindings.StructDataHeader> kVersions = const [ | 853 static const List<bindings.StructDataHeader> kVersions = const [ |
876 const bindings.StructDataHeader(16, 0) | 854 const bindings.StructDataHeader(16, 0) |
877 ]; | 855 ]; |
878 int actualSize = 0; | 856 int actualSize = 0; |
879 | 857 |
880 UdpSocketNegotiateMaxPendingSendRequestsResponseParams() : super(kVersions.las
t.size); | 858 UdpSocketNegotiateMaxPendingSendRequestsResponseParams() : super(kVersions.las
t.size); |
881 | 859 |
882 static UdpSocketNegotiateMaxPendingSendRequestsResponseParams deserialize(bind
ings.Message message) { | 860 static UdpSocketNegotiateMaxPendingSendRequestsResponseParams deserialize(bind
ings.Message message) { |
883 var decoder = new bindings.Decoder(message); | 861 var decoder = new bindings.Decoder(message); |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
936 } | 914 } |
937 | 915 |
938 Map toJson() { | 916 Map toJson() { |
939 Map map = new Map(); | 917 Map map = new Map(); |
940 map["actualSize"] = actualSize; | 918 map["actualSize"] = actualSize; |
941 return map; | 919 return map; |
942 } | 920 } |
943 } | 921 } |
944 | 922 |
945 | 923 |
946 | |
947 | |
948 class _UdpSocketReceiveMoreParams extends bindings.Struct { | 924 class _UdpSocketReceiveMoreParams extends bindings.Struct { |
949 static const List<bindings.StructDataHeader> kVersions = const [ | 925 static const List<bindings.StructDataHeader> kVersions = const [ |
950 const bindings.StructDataHeader(16, 0) | 926 const bindings.StructDataHeader(16, 0) |
951 ]; | 927 ]; |
952 int datagramNumber = 0; | 928 int datagramNumber = 0; |
953 | 929 |
954 _UdpSocketReceiveMoreParams() : super(kVersions.last.size); | 930 _UdpSocketReceiveMoreParams() : super(kVersions.last.size); |
955 | 931 |
956 static _UdpSocketReceiveMoreParams deserialize(bindings.Message message) { | 932 static _UdpSocketReceiveMoreParams deserialize(bindings.Message message) { |
957 var decoder = new bindings.Decoder(message); | 933 var decoder = new bindings.Decoder(message); |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1010 } | 986 } |
1011 | 987 |
1012 Map toJson() { | 988 Map toJson() { |
1013 Map map = new Map(); | 989 Map map = new Map(); |
1014 map["datagramNumber"] = datagramNumber; | 990 map["datagramNumber"] = datagramNumber; |
1015 return map; | 991 return map; |
1016 } | 992 } |
1017 } | 993 } |
1018 | 994 |
1019 | 995 |
1020 | |
1021 | |
1022 class _UdpSocketSendToParams extends bindings.Struct { | 996 class _UdpSocketSendToParams extends bindings.Struct { |
1023 static const List<bindings.StructDataHeader> kVersions = const [ | 997 static const List<bindings.StructDataHeader> kVersions = const [ |
1024 const bindings.StructDataHeader(24, 0) | 998 const bindings.StructDataHeader(24, 0) |
1025 ]; | 999 ]; |
1026 net_address_mojom.NetAddress destAddr = null; | 1000 net_address_mojom.NetAddress destAddr = null; |
1027 List<int> data = null; | 1001 List<int> data = null; |
1028 | 1002 |
1029 _UdpSocketSendToParams() : super(kVersions.last.size); | 1003 _UdpSocketSendToParams() : super(kVersions.last.size); |
1030 | 1004 |
1031 static _UdpSocketSendToParams deserialize(bindings.Message message) { | 1005 static _UdpSocketSendToParams deserialize(bindings.Message message) { |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1099 | 1073 |
1100 Map toJson() { | 1074 Map toJson() { |
1101 Map map = new Map(); | 1075 Map map = new Map(); |
1102 map["destAddr"] = destAddr; | 1076 map["destAddr"] = destAddr; |
1103 map["data"] = data; | 1077 map["data"] = data; |
1104 return map; | 1078 return map; |
1105 } | 1079 } |
1106 } | 1080 } |
1107 | 1081 |
1108 | 1082 |
1109 | |
1110 | |
1111 class UdpSocketSendToResponseParams extends bindings.Struct { | 1083 class UdpSocketSendToResponseParams extends bindings.Struct { |
1112 static const List<bindings.StructDataHeader> kVersions = const [ | 1084 static const List<bindings.StructDataHeader> kVersions = const [ |
1113 const bindings.StructDataHeader(16, 0) | 1085 const bindings.StructDataHeader(16, 0) |
1114 ]; | 1086 ]; |
1115 network_error_mojom.NetworkError result = null; | 1087 network_error_mojom.NetworkError result = null; |
1116 | 1088 |
1117 UdpSocketSendToResponseParams() : super(kVersions.last.size); | 1089 UdpSocketSendToResponseParams() : super(kVersions.last.size); |
1118 | 1090 |
1119 static UdpSocketSendToResponseParams deserialize(bindings.Message message) { | 1091 static UdpSocketSendToResponseParams deserialize(bindings.Message message) { |
1120 var decoder = new bindings.Decoder(message); | 1092 var decoder = new bindings.Decoder(message); |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1174 } | 1146 } |
1175 | 1147 |
1176 Map toJson() { | 1148 Map toJson() { |
1177 Map map = new Map(); | 1149 Map map = new Map(); |
1178 map["result"] = result; | 1150 map["result"] = result; |
1179 return map; | 1151 return map; |
1180 } | 1152 } |
1181 } | 1153 } |
1182 | 1154 |
1183 | 1155 |
1184 | |
1185 | |
1186 class _UdpSocketReceiverOnReceivedParams extends bindings.Struct { | 1156 class _UdpSocketReceiverOnReceivedParams extends bindings.Struct { |
1187 static const List<bindings.StructDataHeader> kVersions = const [ | 1157 static const List<bindings.StructDataHeader> kVersions = const [ |
1188 const bindings.StructDataHeader(32, 0) | 1158 const bindings.StructDataHeader(32, 0) |
1189 ]; | 1159 ]; |
1190 network_error_mojom.NetworkError result = null; | 1160 network_error_mojom.NetworkError result = null; |
1191 net_address_mojom.NetAddress srcAddr = null; | 1161 net_address_mojom.NetAddress srcAddr = null; |
1192 List<int> data = null; | 1162 List<int> data = null; |
1193 | 1163 |
1194 _UdpSocketReceiverOnReceivedParams() : super(kVersions.last.size); | 1164 _UdpSocketReceiverOnReceivedParams() : super(kVersions.last.size); |
1195 | 1165 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1277 | 1247 |
1278 Map toJson() { | 1248 Map toJson() { |
1279 Map map = new Map(); | 1249 Map map = new Map(); |
1280 map["result"] = result; | 1250 map["result"] = result; |
1281 map["srcAddr"] = srcAddr; | 1251 map["srcAddr"] = srcAddr; |
1282 map["data"] = data; | 1252 map["data"] = data; |
1283 return map; | 1253 return map; |
1284 } | 1254 } |
1285 } | 1255 } |
1286 | 1256 |
1287 | |
1288 | |
1289 | |
1290 const int _UdpSocket_allowAddressReuseName = 0; | 1257 const int _UdpSocket_allowAddressReuseName = 0; |
1291 const int _UdpSocket_bindName = 1; | 1258 const int _UdpSocket_bindName = 1; |
1292 const int _UdpSocket_connectName = 2; | 1259 const int _UdpSocket_connectName = 2; |
1293 const int _UdpSocket_setSendBufferSizeName = 3; | 1260 const int _UdpSocket_setSendBufferSizeName = 3; |
1294 const int _UdpSocket_setReceiveBufferSizeName = 4; | 1261 const int _UdpSocket_setReceiveBufferSizeName = 4; |
1295 const int _UdpSocket_negotiateMaxPendingSendRequestsName = 5; | 1262 const int _UdpSocket_negotiateMaxPendingSendRequestsName = 5; |
1296 const int _UdpSocket_receiveMoreName = 6; | 1263 const int _UdpSocket_receiveMoreName = 6; |
1297 const int _UdpSocket_sendToName = 7; | 1264 const int _UdpSocket_sendToName = 7; |
1298 | 1265 |
1299 | |
1300 | |
1301 class _UdpSocketServiceDescription implements service_describer.ServiceDescripti
on { | 1266 class _UdpSocketServiceDescription implements service_describer.ServiceDescripti
on { |
1302 dynamic getTopLevelInterface([Function responseFactory]) => | 1267 dynamic getTopLevelInterface([Function responseFactory]) => |
1303 responseFactory(null); | 1268 responseFactory(null); |
1304 | 1269 |
1305 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => | 1270 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => |
1306 responseFactory(null); | 1271 responseFactory(null); |
1307 | 1272 |
1308 dynamic getAllTypeDefinitions([Function responseFactory]) => | 1273 dynamic getAllTypeDefinitions([Function responseFactory]) => |
1309 responseFactory(null); | 1274 responseFactory(null); |
1310 } | 1275 } |
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1882 static service_describer.ServiceDescription get serviceDescription { | 1847 static service_describer.ServiceDescription get serviceDescription { |
1883 if (_cachedServiceDescription == null) { | 1848 if (_cachedServiceDescription == null) { |
1884 _cachedServiceDescription = new _UdpSocketServiceDescription(); | 1849 _cachedServiceDescription = new _UdpSocketServiceDescription(); |
1885 } | 1850 } |
1886 return _cachedServiceDescription; | 1851 return _cachedServiceDescription; |
1887 } | 1852 } |
1888 } | 1853 } |
1889 | 1854 |
1890 const int _UdpSocketReceiver_onReceivedName = 0; | 1855 const int _UdpSocketReceiver_onReceivedName = 0; |
1891 | 1856 |
1892 | |
1893 | |
1894 class _UdpSocketReceiverServiceDescription implements service_describer.ServiceD
escription { | 1857 class _UdpSocketReceiverServiceDescription implements service_describer.ServiceD
escription { |
1895 dynamic getTopLevelInterface([Function responseFactory]) => | 1858 dynamic getTopLevelInterface([Function responseFactory]) => |
1896 responseFactory(null); | 1859 responseFactory(null); |
1897 | 1860 |
1898 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => | 1861 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => |
1899 responseFactory(null); | 1862 responseFactory(null); |
1900 | 1863 |
1901 dynamic getAllTypeDefinitions([Function responseFactory]) => | 1864 dynamic getAllTypeDefinitions([Function responseFactory]) => |
1902 responseFactory(null); | 1865 responseFactory(null); |
1903 } | 1866 } |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2076 static service_describer.ServiceDescription get serviceDescription { | 2039 static service_describer.ServiceDescription get serviceDescription { |
2077 if (_cachedServiceDescription == null) { | 2040 if (_cachedServiceDescription == null) { |
2078 _cachedServiceDescription = new _UdpSocketReceiverServiceDescription(); | 2041 _cachedServiceDescription = new _UdpSocketReceiverServiceDescription(); |
2079 } | 2042 } |
2080 return _cachedServiceDescription; | 2043 return _cachedServiceDescription; |
2081 } | 2044 } |
2082 } | 2045 } |
2083 | 2046 |
2084 | 2047 |
2085 | 2048 |
OLD | NEW |