summaryrefslogtreecommitdiff
path: root/modules/webrtc/doc_classes/WebRTCDataChannel.xml
blob: dcc14d4ddb367f20aa94d7717b28007ac7c99dd5 (plain)
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
<?xml version="1.0" encoding="UTF-8" ?>
<class name="WebRTCDataChannel" inherits="PacketPeer" category="Core" version="3.2">
	<brief_description>
	</brief_description>
	<description>
	</description>
	<tutorials>
	</tutorials>
	<methods>
		<method name="close">
			<return type="void">
			</return>
			<description>
			</description>
		</method>
		<method name="get_id" qualifiers="const">
			<return type="int">
			</return>
			<description>
			</description>
		</method>
		<method name="get_label" qualifiers="const">
			<return type="String">
			</return>
			<description>
			</description>
		</method>
		<method name="get_max_packet_life_time" qualifiers="const">
			<return type="int">
			</return>
			<description>
			</description>
		</method>
		<method name="get_max_retransmits" qualifiers="const">
			<return type="int">
			</return>
			<description>
			</description>
		</method>
		<method name="get_protocol" qualifiers="const">
			<return type="String">
			</return>
			<description>
			</description>
		</method>
		<method name="get_ready_state" qualifiers="const">
			<return type="int" enum="WebRTCDataChannel.ChannelState">
			</return>
			<description>
			</description>
		</method>
		<method name="is_negotiated" qualifiers="const">
			<return type="bool">
			</return>
			<description>
			</description>
		</method>
		<method name="is_ordered" qualifiers="const">
			<return type="bool">
			</return>
			<description>
			</description>
		</method>
		<method name="poll">
			<return type="int" enum="Error">
			</return>
			<description>
			</description>
		</method>
		<method name="was_string_packet" qualifiers="const">
			<return type="bool">
			</return>
			<description>
			</description>
		</method>
	</methods>
	<members>
		<member name="write_mode" type="int" setter="set_write_mode" getter="get_write_mode" enum="WebRTCDataChannel.WriteMode">
		</member>
	</members>
	<constants>
		<constant name="WRITE_MODE_TEXT" value="0" enum="WriteMode">
		</constant>
		<constant name="WRITE_MODE_BINARY" value="1" enum="WriteMode">
		</constant>
		<constant name="STATE_CONNECTING" value="0" enum="ChannelState">
		</constant>
		<constant name="STATE_OPEN" value="1" enum="ChannelState">
		</constant>
		<constant name="STATE_CLOSING" value="2" enum="ChannelState">
		</constant>
		<constant name="STATE_CLOSED" value="3" enum="ChannelState">
		</constant>
	</constants>
</class>