diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2010-01-20 22:51:45 -0500 |
---|---|---|
committer | Olivier Crête <olivier.crete@collabora.com> | 2014-01-31 01:48:59 -0500 |
commit | 949f979a98498d8ceab2a70696f1dbdc9ab96b7f (patch) | |
tree | 8fce1b6ce9cff42c84268dd4dd47fca21ba3d97e /stun/tools/stund.c | |
parent | 3724af1a0258ba9e9a455cfb3eec65e41ab907fd (diff) | |
download | libnice-949f979a98498d8ceab2a70696f1dbdc9ab96b7f.tar.gz |
agent: Add support for GIO-style I/O streams
This adds three new classes:
• NiceIOStream
• NiceInputStream
• NiceOutputStream
which allow wrapping a single stream/component pair in an I/O stream
which can be used with the standard GIO functions.
The streams are constructed as wrappers around a NiceAgent, with changes
to the NiceAgent’s properties affecting all instantiated streams.
Streams are only supported for reliable connections.
If the NiceAgent stream which underlies a NiceInputStream,
NiceOutputStream or NiceIOStream is removed, the I/O stream is marked as
closed.
This is based on work originally done by Youness Alaoui
<youness.alaoui@collabora.co.uk>.
Diffstat (limited to 'stun/tools/stund.c')
0 files changed, 0 insertions, 0 deletions