-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathasyncio-eventloop.po
1671 lines (1417 loc) · 76.3 KB
/
asyncio-eventloop.po
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001-2018, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.7\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-06-30 05:56+0900\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: tomo🐧, 2017\n"
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ja\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: ../../library/asyncio-eventloop.rst:6
msgid "Base Event Loop"
msgstr "基底イベントループ"
#: ../../library/asyncio-eventloop.rst:8
msgid "**Source code:** :source:`Lib/asyncio/events.py`"
msgstr "**ソースコード:** :source:`Lib/asyncio/events.py`"
#: ../../library/asyncio-eventloop.rst:10
msgid ""
"The event loop is the central execution device provided by :mod:`asyncio`. "
"It provides multiple facilities, including:"
msgstr "イベントループは :mod:`asyncio` が提供する中心実行デバイスです。以下の多くの機能を提供しています:"
#: ../../library/asyncio-eventloop.rst:13
msgid "Registering, executing and cancelling delayed calls (timeouts)."
msgstr "遅延呼び出しの登録、実行およびキャンセル (タイムアウト)。"
#: ../../library/asyncio-eventloop.rst:15
msgid ""
"Creating client and server :ref:`transports <asyncio-transport>` for various"
" kinds of communication."
msgstr "さまざまな種類の通信のためのクライアントおよびサーバー :ref:`トランスポート <asyncio-transport>` の作成。"
#: ../../library/asyncio-eventloop.rst:18
msgid ""
"Launching subprocesses and the associated :ref:`transports <asyncio-"
"transport>` for communication with an external program."
msgstr "外部プログラムとの通信のためのサブプロセスおよび関連する :ref:`トランスポート <asyncio-transport>` の起動。"
#: ../../library/asyncio-eventloop.rst:21
msgid "Delegating costly function calls to a pool of threads."
msgstr "スレッドのプールへ呼び出す、コストの大きい関数の委譲。"
#: ../../library/asyncio-eventloop.rst:25
msgid ""
"This class is an implementation detail. It is a subclass of "
":class:`AbstractEventLoop` and may be a base class of concrete event loop "
"implementations found in :mod:`asyncio`. It should not be used directly; "
"use :class:`AbstractEventLoop` instead. ``BaseEventLoop`` should not be "
"subclassed by third-party code; the internal interface is not stable."
msgstr ""
"このクラスは実装詳細です。 :class:`AbstractEventLoop` のサブクラスであり、 :mod:`asyncio` "
"にあるイベントループを実装した具象クラスの基底クラスになっていることがあります。このクラスは直接使うべきではありません。 "
":class:`AbstractEventLoop` を代わりに使用してください。サードパーティのコードで ``BaseEventLoop`` "
"をサブクラス化すべきではありません。このクラスの内部のインタフェースは安定していません。"
#: ../../library/asyncio-eventloop.rst:34
msgid "Abstract base class of event loops."
msgstr "イベントループの抽象基底クラスです。"
#: ../../library/asyncio-eventloop.rst:36
msgid "This class is :ref:`not thread safe <asyncio-multithreading>`."
msgstr "このクラスは :ref:`スレッド安全ではありません <asyncio-multithreading>`。"
#: ../../library/asyncio-eventloop.rst:39
msgid "Run an event loop"
msgstr "イベントループの実行"
#: ../../library/asyncio-eventloop.rst:43
msgid ""
"Run until :meth:`stop` is called. If :meth:`stop` is called before "
":meth:`run_forever()` is called, this polls the I/O selector once with a "
"timeout of zero, runs all callbacks scheduled in response to I/O events (and"
" those that were already scheduled), and then exits. If :meth:`stop` is "
"called while :meth:`run_forever` is running, this will run the current batch"
" of callbacks and then exit. Note that callbacks scheduled by callbacks "
"will not run in that case; they will run the next time :meth:`run_forever` "
"is called."
msgstr ""
":meth:`stop` が呼ばれるまで実行します。もし :meth:`run_forever()` が呼ばれる前に :meth:`stop` "
"が呼ばれた場合、このメソッドは I/O セレクターをタイムアウト時間ゼロで一度ポーリングして、そこで検出された I/O "
"イベントに応じて実行がスケジュールされたコールバックすべて (に加えて元々スケジュールされていたもの) を実行した後、終了します。もし "
":meth:`run_forever` の実行中に :meth:`stop` "
"が呼ばれた場合、現在バッチ処理中のコールバックを実行した後に終了します。なお、この場合はコールバック内でスケジュールされたコールバックは実行されません。それらは次に"
" :meth:`run_forever` が呼ばれたときに実行されます。"
#: ../../library/asyncio-eventloop.rst:56
msgid "Run until the :class:`Future` is done."
msgstr ":class:`Future` が完了するまで実行します。"
#: ../../library/asyncio-eventloop.rst:58
msgid ""
"If the argument is a :ref:`coroutine object <coroutine>`, it is wrapped by "
":func:`ensure_future`."
msgstr ""
"引数が :ref:`コルーチンオブジェクト <coroutine>` の場合、:func:`ensure_future` でラップされます。"
#: ../../library/asyncio-eventloop.rst:61
msgid "Return the Future's result, or raise its exception."
msgstr "Future の結果を返すか、例外を送出します。"
#: ../../library/asyncio-eventloop.rst:65
msgid "Returns running status of event loop."
msgstr "イベントループの実行状態を返します。"
#: ../../library/asyncio-eventloop.rst:69
msgid "Stop running the event loop."
msgstr "実行中のイベントループを停止します。"
#: ../../library/asyncio-eventloop.rst:71
msgid ""
"This causes :meth:`run_forever` to exit at the next suitable opportunity "
"(see there for more details)."
msgstr "これにより、 :meth:`run_forever` は次の適当な時に終了します (詳細はそちらを参照してください)。"
#: ../../library/asyncio-eventloop.rst:78
msgid "Returns ``True`` if the event loop was closed."
msgstr "イベントループが閉じられていた場合 ``True`` を返します。"
#: ../../library/asyncio-eventloop.rst:84
msgid ""
"Close the event loop. The loop must not be running. Pending callbacks will "
"be lost."
msgstr "イベントループを閉じます。ループは実行中ではいけません。保留中のコールバックは失われます。"
#: ../../library/asyncio-eventloop.rst:87
msgid ""
"This clears the queues and shuts down the executor, but does not wait for "
"the executor to finish."
msgstr "これはキューをクリアし実行者をシャットダウンしますが、実行者の終了を待ちません。"
#: ../../library/asyncio-eventloop.rst:90
msgid ""
"This is idempotent and irreversible. No other methods should be called after"
" this one."
msgstr "これは冪等 (訳注: 何回行っても結果が同じ) であり取り消せません。この後他のメソッドを呼び出してはなりません。"
#: ../../library/asyncio-eventloop.rst:96
msgid ""
"Schedule all currently open :term:`asynchronous generator` objects to close "
"with an :meth:`~agen.aclose()` call. After calling this method, the event "
"loop will issue a warning whenever a new asynchronous generator is iterated."
" Should be used to finalize all scheduled asynchronous generators reliably."
" Example::"
msgstr ""
"現在オープンの全ての :term:`asynchronous generator` "
"オブジェクトをスケジュールし、:meth:`~agen.aclose()` "
"呼び出しによりクローズするようにします。このメソッドの呼び出し後、イベントループは新しい非同期ジェネレータがイテレートされると毎回警告を発します。全てのスケジュールされた非同期ジェネレータの終了処理を確実に行うために使用すべきです。以下に例を示します。"
#: ../../library/asyncio-eventloop.rst:114
msgid "Calls"
msgstr "呼び出し (call)"
#: ../../library/asyncio-eventloop.rst:116
msgid ""
"Most :mod:`asyncio` functions don't accept keywords. If you want to pass "
"keywords to your callback, use :func:`functools.partial`. For example, "
"``loop.call_soon(functools.partial(print, \"Hello\", flush=True))`` will "
"call ``print(\"Hello\", flush=True)``."
msgstr ""
":mod:`asyncio` 関数の大半はキーワードを受け付けません。\n"
"コールバックに引数を渡したい場合は :func:`functools.partial` を使用してください。\n"
"例えば ``loop.call_soon(functools.partial(print, \"Hello\", flush=True))`` は ``print(\"Hello\", flush=True)`` を呼び出します。"
#: ../../library/asyncio-eventloop.rst:122
msgid ""
":func:`functools.partial` is better than ``lambda`` functions, because "
":mod:`asyncio` can inspect :func:`functools.partial` object to display "
"parameters in debug mode, whereas ``lambda`` functions have a poor "
"representation."
msgstr ""
"``lambda`` 関数よりも :func:`functools.partial` を使用しましょう。\n"
":mod:`asyncio` はデバッグモードで引数を表示するよう :func:`functools.partial` オブジェクトを精査することが出来ますが、``lambda`` 関数の表現は貧弱です。"
#: ../../library/asyncio-eventloop.rst:129
msgid ""
"Arrange for a callback to be called as soon as possible. The callback is "
"called after :meth:`call_soon` returns, when control returns to the event "
"loop."
msgstr ""
"コールバックをすぐに呼び出せるように準備します。\n"
"コールバックは :meth:`call_soon` が返ると呼び出され、制御はイベントループに返されます。"
#: ../../library/asyncio-eventloop.rst:133
msgid ""
"This operates as a :abbr:`FIFO (first-in, first-out)` queue, callbacks are "
"called in the order in which they are registered. Each callback will be "
"called exactly once."
msgstr ""
"これは :abbr:`FIFO (first-in, first-out)` "
"キューのように処理され、コールバックは登録された順に呼び出されます。各コールバックは厳密に 1 回だけ呼び出されます。"
#: ../../library/asyncio-eventloop.rst:137
msgid ""
"Any positional arguments after the callback will be passed to the callback "
"when it is called."
msgstr "*callback* の後の位置引数 *args* は、コールバックが呼び出されたときに渡されます。"
#: ../../library/asyncio-eventloop.rst:140
#: ../../library/asyncio-eventloop.rst:197
msgid ""
"An optional keyword-only *context* argument allows specifying a custom "
":class:`contextvars.Context` for the *callback* to run in. The current "
"context is used when no *context* is provided."
msgstr ""
#: ../../library/asyncio-eventloop.rst:144
msgid ""
"An instance of :class:`asyncio.Handle` is returned, which can be used to "
"cancel the callback."
msgstr ":class:`asyncio.Handle` のインスタンスを返します。それを使用してコールバックをキャンセルすることが出来ます。"
#: ../../library/asyncio-eventloop.rst:147
#: ../../library/asyncio-eventloop.rst:201
#: ../../library/asyncio-eventloop.rst:219
#: ../../library/asyncio-eventloop.rst:649
#: ../../library/asyncio-eventloop.rst:661
#: ../../library/asyncio-eventloop.rst:867
msgid ""
":ref:`Use functools.partial to pass keywords to the callback <asyncio-pass-"
"keywords>`."
msgstr ""
":ref:`コールバックに引数を渡すには functools.partial を使用してください <asyncio-pass-keywords>`。"
#: ../../library/asyncio-eventloop.rst:150
#: ../../library/asyncio-eventloop.rst:161
#: ../../library/asyncio-eventloop.rst:204
#: ../../library/asyncio-eventloop.rst:222
msgid ""
"The *context* keyword-only parameter was added. See :pep:`567` for more "
"details."
msgstr ""
#: ../../library/asyncio-eventloop.rst:156
msgid "Like :meth:`call_soon`, but thread safe."
msgstr ":meth:`call_soon` に似ていますが、スレッドセーフです。"
#: ../../library/asyncio-eventloop.rst:158
msgid ""
"See the :ref:`concurrency and multithreading <asyncio-multithreading>` "
"section of the documentation."
msgstr "このドキュメントの :ref:`asyncio-multithreading` 節を参照してください。"
#: ../../library/asyncio-eventloop.rst:169
msgid "Delayed calls"
msgstr "遅延呼び出し"
#: ../../library/asyncio-eventloop.rst:171
msgid ""
"The event loop has its own internal clock for computing timeouts. Which "
"clock is used depends on the (platform-specific) event loop implementation; "
"ideally it is a monotonic clock. This will generally be a different clock "
"than :func:`time.time`."
msgstr ""
"イベントループはタイムアウトを計測するために自身に内部時計を持っています。内部時計は (プラットフォーム固有の) "
"イベントループの実装に依存したものが使用されます。理想的には、これは単調時計 (訳注: 巻き戻ることのない時計) です。これは通常 "
":func:`time.time` とは異なる時計です。"
#: ../../library/asyncio-eventloop.rst:178
msgid ""
"Timeouts (relative *delay* or absolute *when*) should not exceed one day."
msgstr "タイムアウト (相対値 *delay* または絶対値 *when*) は 1 日を超えてはいけません。"
#: ../../library/asyncio-eventloop.rst:183
msgid ""
"Arrange for the *callback* to be called after the given *delay* seconds "
"(either an int or float)."
msgstr "引数 *delay* 秒後に *callback* を呼び出す準備をします。*delay* は int または float です。"
#: ../../library/asyncio-eventloop.rst:186
#: ../../library/asyncio-eventloop.rst:216
msgid ""
"An instance of :class:`asyncio.TimerHandle` is returned, which can be used "
"to cancel the callback."
msgstr ""
#: ../../library/asyncio-eventloop.rst:189
msgid ""
"*callback* will be called exactly once per call to :meth:`call_later`. If "
"two callbacks are scheduled for exactly the same time, it is undefined which"
" will be called first."
msgstr ""
"*callback* は :meth:`call_later` を呼び出すたびに厳密に 1 度だけ呼び出されます。2 "
"個のコールバックが完全に同じ時間にスケジュールされている場合、どちらが先に実行されるかは保証されません。"
#: ../../library/asyncio-eventloop.rst:193
msgid ""
"The optional positional *args* will be passed to the callback when it is "
"called. If you want the callback to be called with some named arguments, use"
" a closure or :func:`functools.partial`."
msgstr ""
"コールバックが呼び出されたときに任意の位置引数 *args* が渡されます。名前付き引数をコールバックに渡したい場合、クロージャか "
":func:`functools.partial` を使用してください。"
#: ../../library/asyncio-eventloop.rst:210
msgid ""
"Arrange for the *callback* to be called at the given absolute timestamp "
"*when* (an int or float), using the same time reference as "
":meth:`AbstractEventLoop.time`."
msgstr ""
"絶対タイムスタンプ *when* (int または float) になったときに呼び出される *callback* を準備します。\n"
"時刻は :meth:`AbstractEventLoop.time` を参照します。"
#: ../../library/asyncio-eventloop.rst:214
msgid "This method's behavior is the same as :meth:`call_later`."
msgstr "このメソッドの振る舞いは :meth:`call_later` と同じです。"
#: ../../library/asyncio-eventloop.rst:228
msgid ""
"Return the current time, as a :class:`float` value, according to the event "
"loop's internal clock."
msgstr "現在の時刻を :class:`float` 値で返します。時刻はイベントループの内部時計に従います。"
#: ../../library/asyncio-eventloop.rst:233
msgid "The :func:`asyncio.sleep` function."
msgstr "関数 :func:`asyncio.sleep`。"
#: ../../library/asyncio-eventloop.rst:237
msgid "Futures"
msgstr "Future"
#: ../../library/asyncio-eventloop.rst:241
msgid "Create an :class:`asyncio.Future` object attached to the loop."
msgstr "ループに付属した :class:`asyncio.Future` オブジェクトを作成します。"
#: ../../library/asyncio-eventloop.rst:243
msgid ""
"This is a preferred way to create futures in asyncio, as event loop "
"implementations can provide alternative implementations of the Future class "
"(with better performance or instrumentation)."
msgstr ""
"asyncio で Futures を作成するために推奨される方法です。イベントループを実装することにより、Futures "
"クラスの(パフォーマンスや計測方法が優れた) 代替実装 が提供される場合があるためです。"
#: ../../library/asyncio-eventloop.rst:251
msgid "Tasks"
msgstr "タスク"
#: ../../library/asyncio-eventloop.rst:255
msgid ""
"Schedule the execution of a :ref:`coroutine object <coroutine>`: wrap it in "
"a future. Return a :class:`Task` object."
msgstr ""
":ref:`コルーチンオブジェクト <coroutine>` の実行をスケジュールします: このときフューチャにラップします。:class:`Task`"
" オブジェクトを返します。"
#: ../../library/asyncio-eventloop.rst:258
msgid ""
"Third-party event loops can use their own subclass of :class:`Task` for "
"interoperability. In this case, the result type is a subclass of "
":class:`Task`."
msgstr ""
"サードパーティのイベントループは相互運用のための自身の :class:`Task` のサブクラスを使用できます。この場合、結果は "
":class:`Task` のサブクラスになります。"
#: ../../library/asyncio-eventloop.rst:266
msgid ""
"Set a task factory that will be used by "
":meth:`AbstractEventLoop.create_task`."
msgstr ":meth:`AbstractEventLoop.create_task` が使用するタスクファクトリーを設定します。"
#: ../../library/asyncio-eventloop.rst:269
msgid "If *factory* is ``None`` the default task factory will be set."
msgstr "*factory* が ``None`` の場合デフォルトのタスクファクトリーが設定されます。"
#: ../../library/asyncio-eventloop.rst:271
msgid ""
"If *factory* is a *callable*, it should have a signature matching ``(loop, "
"coro)``, where *loop* will be a reference to the active event loop, *coro* "
"will be a coroutine object. The callable must return an "
":class:`asyncio.Future` compatible object."
msgstr ""
"*factory* が *呼び出し可能オブジェクト* の場合、 ``(loop, coro)`` に一致するシグニチャを持っていなければなりません。\n"
"*loop* は有効なイベントループへの参照で、 *coro* はコルーチンオブジェクトです。\n"
"呼び出し可能オブジェクトは :class:`asyncio.Future` 互換のオブジェクトを返さなければなりません。"
#: ../../library/asyncio-eventloop.rst:280
msgid "Return a task factory, or ``None`` if the default one is in use."
msgstr "タスクファクトリーを返します。デフォルトのものが使用された場合は ``None`` を返します。"
#: ../../library/asyncio-eventloop.rst:286
msgid "Creating connections"
msgstr "コネクションの作成"
#: ../../library/asyncio-eventloop.rst:290
msgid ""
"Create a streaming transport connection to a given Internet *host* and "
"*port*: socket family :py:data:`~socket.AF_INET` or "
":py:data:`~socket.AF_INET6` depending on *host* (or *family* if specified), "
"socket type :py:data:`~socket.SOCK_STREAM`. *protocol_factory* must be a "
"callable returning a :ref:`protocol <asyncio-protocol>` instance."
msgstr ""
"インターネット *host* および *port* へのストリーミング転送コネクションを作成します: ソケットファミリ "
":py:data:`~socket.AF_INET` または :py:data:`~socket.AF_INET6` は *host* "
"(または指定されていれば *family*) に依存し、ソケットタイプは :py:data:`~socket.SOCK_STREAM` "
"になります。*protocol_factory* は :ref:`プロトコル <asyncio-protocol>` "
"のインスタンスを返す呼び出し可能オブジェクトでなければなりません。"
#: ../../library/asyncio-eventloop.rst:296
#: ../../library/asyncio-eventloop.rst:378
#: ../../library/asyncio-eventloop.rst:431
msgid ""
"This method will try to establish the connection in the background. When "
"successful, it returns a ``(transport, protocol)`` pair."
msgstr ""
#: ../../library/asyncio-eventloop.rst:299
msgid "The chronological synopsis of the underlying operation is as follows:"
msgstr "時系列での下層処理の概要は以下のとおりです:"
#: ../../library/asyncio-eventloop.rst:301
msgid ""
"The connection is established, and a :ref:`transport <asyncio-transport>` is"
" created to represent it."
msgstr "コネクションを確立し、それを表す :ref:`トランスポート <asyncio-transport>` が作成される。"
#: ../../library/asyncio-eventloop.rst:304
msgid ""
"*protocol_factory* is called without arguments and must return a "
":ref:`protocol <asyncio-protocol>` instance."
msgstr ""
"*protocol_factory* が引数なしで呼び出され、:ref:`プロトコル <asyncio-protocol>` のインスタンスを返す。"
#: ../../library/asyncio-eventloop.rst:307
msgid ""
"The protocol instance is tied to the transport, and its "
":meth:`connection_made` method is called."
msgstr "プロトコルインスタンスはトランスポートと紐付けられ、それの :meth:`connection_made` メソッドが呼び出される。"
#: ../../library/asyncio-eventloop.rst:310
msgid ""
"The coroutine returns successfully with the ``(transport, protocol)`` pair."
msgstr "コルーチンは ``(トランスポート, プロトコル)`` のペアを返す。"
#: ../../library/asyncio-eventloop.rst:313
msgid ""
"The created transport is an implementation-dependent bidirectional stream."
msgstr "作成されたトランスポートは実装依存の双方向ストリームです。"
#: ../../library/asyncio-eventloop.rst:316
msgid ""
"*protocol_factory* can be any kind of callable, not necessarily a class. "
"For example, if you want to use a pre-created protocol instance, you can "
"pass ``lambda: my_protocol``."
msgstr ""
"*protocol_factory* "
"はクラスである必要はなく、あらゆる種類の呼び出し可能オブジェクトを使用可能です。例えば、あらかじめ作成しておいたプロコルインスタンスを使用したい場合、``lambda:"
" my_protocol`` を渡します。"
#: ../../library/asyncio-eventloop.rst:320
msgid "Options that change how the connection is created:"
msgstr "コネクションの作成方法を変更するオプションは以下の通りです:"
#: ../../library/asyncio-eventloop.rst:322
msgid ""
"*ssl*: if given and not false, a SSL/TLS transport is created (by default a "
"plain TCP transport is created). If *ssl* is a :class:`ssl.SSLContext` "
"object, this context is used to create the transport; if *ssl* is "
":const:`True`, a context with some unspecified default settings is used."
msgstr ""
"*ssl*: 偽値以外が与えられた場合、SSL/TLS トランスポートが作成されます (デフォルトではプレーン TCP "
"トランスポートが作成されます)。*ssl* が :class:`ssl.SSLContext` "
"オブジェクトの場合、このコンテキストはトランスポートを作成するために使用されます; *ssl* が :const:`True` "
"の場合、いくつかの未定義のデフォルト値が使用されます。"
#: ../../library/asyncio-eventloop.rst:328
msgid ":ref:`SSL/TLS security considerations <ssl-security>`"
msgstr ":ref:`SSL/TLS セキュリティについての考察 <ssl-security>`"
#: ../../library/asyncio-eventloop.rst:330
msgid ""
"*server_hostname*, is only for use together with *ssl*, and sets or "
"overrides the hostname that the target server's certificate will be matched "
"against. By default the value of the *host* argument is used. If *host* is"
" empty, there is no default and you must pass a value for *server_hostname*."
" If *server_hostname* is an empty string, hostname matching is disabled "
"(which is a serious security risk, allowing for man-in-the-middle-attacks)."
msgstr ""
"*server_hostname* は *ssl* "
"指定時のみ使用し、対象サーバーの証明書に一致するホスト名を設定またはオーバーライドします。デフォルトでは引数 *host* "
"の値が使用されます。*host* が空の場合デフォルト値はなく、*server_hostname* "
"に値を渡さなければなりません。*server_hostname* が空の場合、ホスト名のマッチングは無効になります "
"(深刻なセキュリティリスクになり、中間者攻撃に対する脆弱性になります)。"
#: ../../library/asyncio-eventloop.rst:338
msgid ""
"*family*, *proto*, *flags* are the optional address family, protocol and "
"flags to be passed through to getaddrinfo() for *host* resolution. If given,"
" these should all be integers from the corresponding :mod:`socket` module "
"constants."
msgstr ""
"*family*, *proto*, *flags* は任意のアドレスファミリであり、*host* 解決のための getaddrinfo() "
"経由で渡されるプロトコルおよびフラグになります。このオプションが与えられた場合、これらはすべて :mod:`socket` "
"モジュール定数に従った整数でなければなりません。"
#: ../../library/asyncio-eventloop.rst:343
msgid ""
"*sock*, if given, should be an existing, already connected "
":class:`socket.socket` object to be used by the transport. If *sock* is "
"given, none of *host*, *port*, *family*, *proto*, *flags* and *local_addr* "
"should be specified."
msgstr ""
"*sock* を与える場合、トランスポートに使用される、既存の、すでに接続済の :class:`socket.socket` "
"オブジェクトを指定します。*sock* を指定する場合、*host*、*port*、*family*、*proto*、*flags* および "
"*local_addr* を指定してはなりません。"
#: ../../library/asyncio-eventloop.rst:348
msgid ""
"*local_addr*, if given, is a ``(local_host, local_port)`` tuple used to bind"
" the socket to locally. The *local_host* and *local_port* are looked up "
"using getaddrinfo(), similarly to *host* and *port*."
msgstr ""
"*local_addr* を与える場合、ソケットをローカルに束縛するために使用する ``(local_host, local_port)`` "
"のタプルを指定します。*local_host* および *local_port* は *host* および *port* と同様に "
"getaddrinfo() を使用してルックアップされます。"
#: ../../library/asyncio-eventloop.rst:352
#: ../../library/asyncio-eventloop.rst:560
#: ../../library/asyncio-eventloop.rst:629
msgid ""
"*ssl_handshake_timeout* is (for an SSL connection) the time in seconds to "
"wait for the SSL handshake to complete before aborting the connection. "
"``60.0`` seconds if ``None`` (default)."
msgstr ""
#: ../../library/asyncio-eventloop.rst:358
#: ../../library/asyncio-eventloop.rst:444
#: ../../library/asyncio-eventloop.rst:568
msgid "The *ssl_handshake_timeout* parameter."
msgstr ""
#: ../../library/asyncio-eventloop.rst:362
#: ../../library/asyncio-eventloop.rst:514
msgid "On Windows with :class:`ProactorEventLoop`, SSL/TLS is now supported."
msgstr "Windows の :class:`ProactorEventLoop` で SSL/TLS がサポートされました。"
#: ../../library/asyncio-eventloop.rst:366
msgid ""
"The :func:`open_connection` function can be used to get a pair of "
"(:class:`StreamReader`, :class:`StreamWriter`) instead of a protocol."
msgstr ""
"関数 :func:`open_connection` はプロトコルではなく (:class:`StreamReader`, "
":class:`StreamWriter`) のペアの取得に使用できます。"
#: ../../library/asyncio-eventloop.rst:372
msgid ""
"Create datagram connection: socket family :py:data:`~socket.AF_INET`, "
":py:data:`~socket.AF_INET6` or :py:data:`~socket.AF_UNIX` depending on "
"*host* (or *family* if specified), socket type "
":py:data:`~socket.SOCK_DGRAM`. *protocol_factory* must be a callable "
"returning a :ref:`protocol <asyncio-protocol>` instance."
msgstr ""
#: ../../library/asyncio-eventloop.rst:381
msgid "Options changing how the connection is created:"
msgstr "コネクションの作成方法を変更するオプションは以下の通りです:"
#: ../../library/asyncio-eventloop.rst:383
msgid ""
"*local_addr*, if given, is a ``(local_host, local_port)`` tuple used to bind"
" the socket to locally. The *local_host* and *local_port* are looked up "
"using :meth:`getaddrinfo`."
msgstr ""
"*local_addr* が指定される場合、``(local_host, local_port)`` "
"のタプルで、ソケットをローカルで束縛するために使用されます。*local_host* と *local_port* は "
":meth:`getaddrinfo` を使用して検索されます。"
#: ../../library/asyncio-eventloop.rst:387
msgid ""
"*remote_addr*, if given, is a ``(remote_host, remote_port)`` tuple used to "
"connect the socket to a remote address. The *remote_host* and *remote_port*"
" are looked up using :meth:`getaddrinfo`."
msgstr ""
"*remote_addr* が指定される場合、``(remote_host, remote_por)`` "
"のタプルで、ソケットをリモートアドレスに束縛するために使用されます。*remote_host* と *remote_port* は "
":meth:`getaddrinfo` を使用して検索されます。"
#: ../../library/asyncio-eventloop.rst:391
msgid ""
"*family*, *proto*, *flags* are the optional address family, protocol and "
"flags to be passed through to :meth:`getaddrinfo` for *host* resolution. If "
"given, these should all be integers from the corresponding :mod:`socket` "
"module constants."
msgstr ""
"*family*, *proto*, *flags* は任意のアドレスファミリです。これらのファミリ、プロトコル、フラグは、*host* 解決のため "
":meth:`getaddrinfo` 経由でオプションで渡されます。これらのオプションを指定する場合、すべて :mod:`socket` "
"モジュール定数に従った整数でなければなりません。"
#: ../../library/asyncio-eventloop.rst:396
#: ../../library/asyncio-eventloop.rst:488
msgid ""
"*reuse_address* tells the kernel to reuse a local socket in TIME_WAIT state,"
" without waiting for its natural timeout to expire. If not specified will "
"automatically be set to ``True`` on UNIX."
msgstr ""
"*reuse_address* は、 TIME_WAIT "
"状態にあるローカルソケットを、その状態が自然にタイムアウトするのを待つことなく再利用するようカーネルに指示します(訳註: ソケットのオプション "
"SO_REUSEADDR を使用します)。指定しない場合、UNIX では自動的に ``True`` が設定されます。"
#: ../../library/asyncio-eventloop.rst:401
msgid ""
"*reuse_port* tells the kernel to allow this endpoint to be bound to the same"
" port as other existing endpoints are bound to, so long as they all set this"
" flag when being created. This option is not supported on Windows and some "
"UNIX's. If the :py:data:`~socket.SO_REUSEPORT` constant is not defined then "
"this capability is unsupported."
msgstr ""
"*reuse_port* "
"は、同じポートにバインドされた既存の端点すべてがこのフラグを設定して生成されている場合に限り、この端点を既存の端点と同じポートにバインドすることをカーネルに許可します(訳註:"
" ソケットのオプション SO_REUSEPORT を使用します)。このオプションは、Windows やいくつかの UNIX "
"システムではサポートされません。もし定数 :py:data:`~socket.SO_REUSEPORT` "
"が定義されていなければ、この機能はサポートされません。"
#: ../../library/asyncio-eventloop.rst:407
msgid ""
"*allow_broadcast* tells the kernel to allow this endpoint to send messages "
"to the broadcast address."
msgstr ""
"*allow_broadcast* は、カーネルに、このエンドポイントがブロードキャストアドレスにメッセージを送信することを許可するように指示します。"
#: ../../library/asyncio-eventloop.rst:410
msgid ""
"*sock* can optionally be specified in order to use a preexisting, already "
"connected, :class:`socket.socket` object to be used by the transport. If "
"specified, *local_addr* and *remote_addr* should be omitted (must be "
":const:`None`)."
msgstr ""
"オプションの *sock* を指定することで、既存の、すでに接続されている :class:`socket.socket` "
"をトランスポートで使用することができます。このオプションを使用する場合、*local_addr* と *remote_addr* は省略してください "
"(:const:`None` でなければなりません)。"
#: ../../library/asyncio-eventloop.rst:415
msgid ""
"On Windows with :class:`ProactorEventLoop`, this method is not supported."
msgstr "Windows の :class:`ProactorEventLoop` では、このメソッドはサポートされていません。"
#: ../../library/asyncio-eventloop.rst:417
msgid ""
"See :ref:`UDP echo client protocol <asyncio-udp-echo-client-protocol>` and "
":ref:`UDP echo server protocol <asyncio-udp-echo-server-protocol>` examples."
msgstr ""
":ref:`UDP echo クライアントプロトコル <asyncio-udp-echo-client-protocol>` および :ref:`UDP"
" echo サーバープロトコル <asyncio-udp-echo-server-protocol>` の例を参照してください。"
#: ../../library/asyncio-eventloop.rst:420
msgid ""
"The *family*, *proto*, *flags*, *reuse_address*, *reuse_port, "
"*allow_broadcast*, and *sock* parameters were added."
msgstr ""
"*family*, *proto*, *flags*, *reuse_address*, *reuse_port, *allow_broadcast*,"
" *sock* パラメータが追加されました。"
#: ../../library/asyncio-eventloop.rst:426
msgid ""
"Create UNIX connection: socket family :py:data:`~socket.AF_UNIX`, socket "
"type :py:data:`~socket.SOCK_STREAM`. The :py:data:`~socket.AF_UNIX` socket "
"family is used to communicate between processes on the same machine "
"efficiently."
msgstr ""
"UNIX コネクションを作成します: ソケットファミリは :py:data:`~socket.AF_UNIX`、ソケットタイプは "
":py:data:`~socket.SOCK_STREAM` になります。:py:data:`~socket.AF_UNIX` "
"ソケットファミリは同一マシン上のプロセス間で効率的に通信するために使用されます。"
#: ../../library/asyncio-eventloop.rst:434
#: ../../library/asyncio-eventloop.rst:531
msgid ""
"*path* is the name of a UNIX domain socket, and is required unless a *sock* "
"parameter is specified. Abstract UNIX sockets, :class:`str`, "
":class:`bytes`, and :class:`~pathlib.Path` paths are supported."
msgstr ""
#: ../../library/asyncio-eventloop.rst:438
msgid ""
"See the :meth:`AbstractEventLoop.create_connection` method for parameters."
msgstr "引数については :meth:`AbstractEventLoop.create_connection` メソッドを参照してください。"
#: ../../library/asyncio-eventloop.rst:440
#: ../../library/asyncio-eventloop.rst:535
msgid "Availability: UNIX."
msgstr "利用できる環境: UNIX。"
#: ../../library/asyncio-eventloop.rst:448
msgid "The *path* parameter can now be a :term:`path-like object`."
msgstr ""
#: ../../library/asyncio-eventloop.rst:452
msgid "Creating listening connections"
msgstr "待ち受けコネクションの作成"
#: ../../library/asyncio-eventloop.rst:456
msgid ""
"Create a TCP server (socket type :data:`~socket.SOCK_STREAM`) bound to "
"*host* and *port*."
msgstr ""
"*host* および *port* に束縛された TCP サーバー (ソケットタイプ :data:`~socket.SOCK_STREAM`) "
"を作成します。"
#: ../../library/asyncio-eventloop.rst:459
msgid ""
"Return a :class:`Server` object, its :attr:`~Server.sockets` attribute "
"contains created sockets. Use the :meth:`Server.close` method to stop the "
"server: close listening sockets."
msgstr ""
":class:`Server` オブジェクトを返します。これの :attr:`~Server.sockets` "
"属性には作成されたソケットが含まれています。サーバーを停止するには :meth:`Server.close` メソッドを使用します: "
"待受中のソケットを閉じます。"
#: ../../library/asyncio-eventloop.rst:463
#: ../../library/asyncio-eventloop.rst:552
#: ../../library/asyncio-eventloop.rst:615
msgid "Parameters:"
msgstr "引数:"
#: ../../library/asyncio-eventloop.rst:465
msgid ""
"The *host* parameter can be a string, in that case the TCP server is bound "
"to *host* and *port*. The *host* parameter can also be a sequence of strings"
" and in that case the TCP server is bound to all hosts of the sequence. If "
"*host* is an empty string or ``None``, all interfaces are assumed and a list"
" of multiple sockets will be returned (most likely one for IPv4 and another "
"one for IPv6)."
msgstr ""
"*host* 引数には文字列を渡すことが出来ます。\n"
"その場合、TCP サーバは *host* と *port* に束縛されます。\n"
"*host* 引数には文字列のシーケンスを渡すことも出来ます。\n"
"その場合 TCP サーバはシーケンスの全ホストに束縛されます。\n"
"*host* が空の文字列や ``None`` の場合、全インターフェイスが想定され、複数のソケットからなるリストを返します (最も近いのは IPv4 や IPv6 のものです)。"
#: ../../library/asyncio-eventloop.rst:472
msgid ""
"*family* can be set to either :data:`socket.AF_INET` or "
":data:`~socket.AF_INET6` to force the socket to use IPv4 or IPv6. If not set"
" it will be determined from host (defaults to :data:`socket.AF_UNSPEC`)."
msgstr ""
"*family* には :data:`socket.AF_INET` または :data:`~socket.AF_INET6` を指定し、ソケットで "
"IPv4 を使用するか IPv6 を使用するか強制的に設定できます。設定されない場合ホストから決定されます "
"(:data:`socket.AF_UNSPEC` がデフォルトになります)。"
#: ../../library/asyncio-eventloop.rst:476
msgid "*flags* is a bitmask for :meth:`getaddrinfo`."
msgstr "*flags* は :meth:`getaddrinfo` のためのビットマスクになります。"
#: ../../library/asyncio-eventloop.rst:478
msgid ""
"*sock* can optionally be specified in order to use a preexisting socket "
"object. If specified, *host* and *port* should be omitted (must be "
":const:`None`)."
msgstr ""
"任意の引数 *sock* には、既存のソケットオブジェクトの使用順を指定できます。指定した場合、*host* および *port* "
"を指定してはなりません (:const:`None` でなければなりません)。"
#: ../../library/asyncio-eventloop.rst:482
msgid ""
"*backlog* is the maximum number of queued connections passed to "
":meth:`~socket.socket.listen` (defaults to 100)."
msgstr ""
"*backlog* は :meth:`~socket.socket.listen` に渡される、キューに入るコネクションの最大数になります "
"(デフォルトは 100)。"
#: ../../library/asyncio-eventloop.rst:485
#: ../../library/asyncio-eventloop.rst:557
msgid ""
"*ssl* can be set to an :class:`~ssl.SSLContext` to enable SSL over the "
"accepted connections."
msgstr ""
"*ssl* には :class:`~ssl.SSLContext` を指定できます。指定すると、受け付けたコネクション上での SSL を有効にします。"
#: ../../library/asyncio-eventloop.rst:493
msgid ""
"*reuse_port* tells the kernel to allow this endpoint to be bound to the same"
" port as other existing endpoints are bound to, so long as they all set this"
" flag when being created. This option is not supported on Windows."
msgstr ""
"*reuse_port* "
"は、同じポートにバインドされた既存の端点すべてがこのフラグを設定して生成されている場合に限り、この端点を既存の端点と同じポートにバインドすることを許可するよう、カーネルに指示します(訳註:"
" ソケットのオプション SO_REUSEPORT を使用します)。このオプションは、Windows ではサポートされていません。"
#: ../../library/asyncio-eventloop.rst:498
msgid ""
"*ssl_handshake_timeout* is (for an SSL server) the time in seconds to wait "
"for the SSL handshake to complete before aborting the connection. ``60.0`` "
"seconds if ``None`` (default)."
msgstr ""
#: ../../library/asyncio-eventloop.rst:502
msgid ""
"*start_serving* set to ``True`` (the default) causes the created server to "
"start accepting connections immediately. When set to ``False``, the user "
"should await on :meth:`Server.start_serving` or :meth:`Server.serve_forever`"
" to make the server to start accepting connections."
msgstr ""
#: ../../library/asyncio-eventloop.rst:510
msgid "*ssl_handshake_timeout* and *start_serving* parameters."
msgstr ""
#: ../../library/asyncio-eventloop.rst:518
msgid ""
"The function :func:`start_server` creates a (:class:`StreamReader`, "
":class:`StreamWriter`) pair and calls back a function with this pair."
msgstr ""
"関数 :func:`start_server` は (:class:`StreamReader`, :class:`StreamWriter`) "
"のペアを作成し、このペアで関数を再度呼び出します。"
#: ../../library/asyncio-eventloop.rst:523
msgid "The *host* parameter can now be a sequence of strings."
msgstr "*host* 引数に文字列のシーケンスを与えられるようになりました。"
#: ../../library/asyncio-eventloop.rst:528
msgid ""
"Similar to :meth:`AbstractEventLoop.create_server`, but specific to the "
"socket family :py:data:`~socket.AF_UNIX`."
msgstr ""
":meth:`AbstractEventLoop.create_server` と似ていますが、ソケットファミリー "
":py:data:`~socket.AF_UNIX` 固有です。"
#: ../../library/asyncio-eventloop.rst:539
msgid "The *ssl_handshake_timeout* and *start_serving* parameters."
msgstr ""
#: ../../library/asyncio-eventloop.rst:543
msgid "The *path* parameter can now be a :class:`~pathlib.Path` object."
msgstr ""
#: ../../library/asyncio-eventloop.rst:547
msgid "Handle an accepted connection."
msgstr "受け付けられた接続を扱います。"
#: ../../library/asyncio-eventloop.rst:549
msgid ""
"This is used by servers that accept connections outside of asyncio but that "
"use asyncio to handle them."
msgstr "asyncio の範囲外で接続を受け付けるが、asyncio を使用してそれらを扱うサーバにより使用されます。"
#: ../../library/asyncio-eventloop.rst:554
msgid ""
"*sock* is a preexisting socket object returned from an ``accept`` call."
msgstr "*sock* は、 ``accept`` 呼び出しが返す既存のソケットオブジェクトです。"
#: ../../library/asyncio-eventloop.rst:564
msgid "When completed it returns a ``(transport, protocol)`` pair."
msgstr ""
#: ../../library/asyncio-eventloop.rst:574
msgid "File Transferring"
msgstr ""
#: ../../library/asyncio-eventloop.rst:580
msgid ""
"Send a *file* to *transport*, return the total number of bytes which were "
"sent."
msgstr ""
#: ../../library/asyncio-eventloop.rst:583
msgid "The method uses high-performance :meth:`os.sendfile` if available."
msgstr ""
#: ../../library/asyncio-eventloop.rst:585
#: ../../library/asyncio-eventloop.rst:780
msgid "*file* must be a regular file object opened in binary mode."
msgstr ""
#: ../../library/asyncio-eventloop.rst:587
#: ../../library/asyncio-eventloop.rst:782
msgid ""
"*offset* tells from where to start reading the file. If specified, *count* "
"is the total number of bytes to transmit as opposed to sending the file "
"until EOF is reached. File position is updated on return or also in case of "
"error in which case :meth:`file.tell() <io.IOBase.tell>` can be used to "
"figure out the number of bytes which were sent."
msgstr ""
#: ../../library/asyncio-eventloop.rst:594
#: ../../library/asyncio-eventloop.rst:789
msgid ""
"*fallback* set to ``True`` makes asyncio to manually read and send the file "
"when the platform does not support the sendfile syscall (e.g. Windows or SSL"
" socket on Unix)."
msgstr ""
#: ../../library/asyncio-eventloop.rst:598
#: ../../library/asyncio-eventloop.rst:793
msgid ""
"Raise :exc:`SendfileNotAvailableError` if the system does not support "
"*sendfile* syscall and *fallback* is ``False``."
msgstr ""
#: ../../library/asyncio-eventloop.rst:605
msgid "TLS Upgrade"
msgstr ""
#: ../../library/asyncio-eventloop.rst:609
msgid "Upgrades an existing connection to TLS."
msgstr ""
#: ../../library/asyncio-eventloop.rst:611
msgid ""
"Returns a new transport instance, that the *protocol* must start using "
"immediately after the *await*. The *transport* instance passed to the "
"*start_tls* method should never be used again."
msgstr ""
#: ../../library/asyncio-eventloop.rst:617
msgid ""
"*transport* and *protocol* instances that methods like "
":meth:`~AbstractEventLoop.create_server` and "
":meth:`~AbstractEventLoop.create_connection` return."
msgstr ""
#: ../../library/asyncio-eventloop.rst:621
msgid "*sslcontext*: a configured instance of :class:`~ssl.SSLContext`."
msgstr ""
#: ../../library/asyncio-eventloop.rst:623
msgid ""
"*server_side* pass ``True`` when a server-side connection is being upgraded "
"(like the one created by :meth:`~AbstractEventLoop.create_server`)."
msgstr ""
#: ../../library/asyncio-eventloop.rst:626
msgid ""
"*server_hostname*: sets or overrides the host name that the target server's "
"certificate will be matched against."
msgstr ""
#: ../../library/asyncio-eventloop.rst:637
msgid "Watch file descriptors"
msgstr "ファイル記述子の監視"
#: ../../library/asyncio-eventloop.rst:639
msgid ""
"On Windows with :class:`SelectorEventLoop`, only socket handles are "
"supported (ex: pipe file descriptors are not supported)."
msgstr ""
"Windows の :class:`SelectorEventLoop` では、ソケットの扱いのみサポートされています "
"(例えばパイプのファイル記述子はサポートされません)。"
#: ../../library/asyncio-eventloop.rst:642
msgid ""
"On Windows with :class:`ProactorEventLoop`, these methods are not supported."
msgstr "Wndows の :class:`ProactorEventLoop` では、これらのメソッドはサポートされません。"
#: ../../library/asyncio-eventloop.rst:646
msgid ""
"Start watching the file descriptor for read availability and then call the "
"*callback* with specified arguments."
msgstr "読み込み可能なファイル記述子の監視を開始し、指定された引数で *callback* を呼び出します。"
#: ../../library/asyncio-eventloop.rst:654
msgid "Stop watching the file descriptor for read availability."
msgstr "読み込み可能なファイル記述子の監視を停止します。"
#: ../../library/asyncio-eventloop.rst:658
msgid ""
"Start watching the file descriptor for write availability and then call the "
"*callback* with specified arguments."
msgstr "書き込み可能なファイル記述子の監視を開始し、指定された引数で *callback* を呼び出します。"
#: ../../library/asyncio-eventloop.rst:666
msgid "Stop watching the file descriptor for write availability."
msgstr "書き込み可能なファイル記述子の監視を停止します。"
#: ../../library/asyncio-eventloop.rst:668
msgid ""
"The :ref:`watch a file descriptor for read events <asyncio-watch-read-"
"event>` example uses the low-level :meth:`AbstractEventLoop.add_reader` "
"method to register the file descriptor of a socket."
msgstr ""
":ref:`読み込みイベント用のファイル記述子の監視 <asyncio-watch-read-event>` "
"の例では、ソケットのファイル記述子を登録するのに低水準の :meth:`AbstractEventLoop.add_reader` "
"メソッドを使用しています。"
#: ../../library/asyncio-eventloop.rst:674
msgid "Low-level socket operations"
msgstr "低水準のソケット操作"
#: ../../library/asyncio-eventloop.rst:678
msgid ""
"Receive data from the socket. Modeled after blocking "
":meth:`socket.socket.recv` method."
msgstr ""
"ソケットからデータを受け取ります。\n"
":meth:`socket.socket.recv` メソッドのブロックをモデルにしています。"
#: ../../library/asyncio-eventloop.rst:681
msgid ""
"The return value is a bytes object representing the data received. The "
"maximum amount of data to be received at once is specified by *nbytes*."
msgstr ""