Skip to content
0.2.0-dev Download ZIP
21 lines ·1.3 KB Raw
1<?xml version="1.0" encoding="UTF-8" ?>
2<class name="PacketPeerStream" inherits="PacketPeer" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
3 <brief_description>
4 Wrapper to use a PacketPeer over a StreamPeer.
5 </brief_description>
6 <description>
7 PacketStreamPeer provides a wrapper for working using packets over a stream. This allows for using packet based code with StreamPeers. PacketPeerStream implements a custom protocol over the StreamPeer, so the user should not read or write to the wrapped StreamPeer directly.
8 [b]Note:[/b] When exporting to Android, make sure to enable the [code]INTERNET[/code] permission in the Android export preset before exporting the project or using remote deploy. Otherwise, network communication of any kind will be blocked by Android.
9 </description>
10 <tutorials>
11 </tutorials>
12 <members>
13 <member name="input_buffer_max_size" type="int" setter="set_input_buffer_max_size" getter="get_input_buffer_max_size" default="65532">
14 </member>
15 <member name="output_buffer_max_size" type="int" setter="set_output_buffer_max_size" getter="get_output_buffer_max_size" default="65532">
16 </member>
17 <member name="stream_peer" type="StreamPeer" setter="set_stream_peer" getter="get_stream_peer">
18 The wrapped [StreamPeer] object.
19 </member>
20 </members>
21</class>