summaryrefslogtreecommitdiff
path: root/src/examples/ecore/Makefile.am
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-08-23 20:03:10 -0300
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-08-23 20:17:13 -0300
commit86e87b2fd932a8199683f7bd1adfaba1c9f43d9a (patch)
tree1696c0acff294ed4b270dc5e7026004cad118b63 /src/examples/ecore/Makefile.am
parenta1526169e7925677ef9c9eaf742ef1c8d8d13bf6 (diff)
efl_io_queue: basic class to interact with Efl.Io interfaces.
The use of low-level interfaces such as Efl.Io.Reader and Efl.Io.Writer are not that user-friendly as they can handle partial data. Classes such as Efl.Io.Copier makes them easy to use, but they need a reader (source) or writer (destination) and in our examples we used fixed buffers or some existing streams (stdin/stdout/stderr, networking...). However, if interactively we need to produce some data to be sent, such as implementing some networking protocols, we'd have to write our own Efl.Io.Reader and Efl.Io.Writer classes to handle the buffering. Not anymore! With Efl.Io.Queue you can write stuff to it and it will buffer to memory. Once stuff is read, it will automatically remove those bytes from buffer.
Diffstat (limited to 'src/examples/ecore/Makefile.am')
-rw-r--r--src/examples/ecore/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/examples/ecore/Makefile.am b/src/examples/ecore/Makefile.am
index de4292c297..16a8693319 100644
--- a/src/examples/ecore/Makefile.am
+++ b/src/examples/ecore/Makefile.am
@@ -79,6 +79,7 @@ ecore_con_eet_client_example \
79ecore_con_eet_server_example \ 79ecore_con_eet_server_example \
80efl_io_copier_example \ 80efl_io_copier_example \
81efl_io_copier_simple_example \ 81efl_io_copier_simple_example \
82efl_io_queue_example \
82efl_net_server_example \ 83efl_net_server_example \
83efl_net_dialer_http_example 84efl_net_dialer_http_example
84 85
@@ -287,6 +288,9 @@ efl_io_copier_example_LDADD = $(ECORE_CON_COMMON_LDADD)
287efl_io_copier_simple_example_SOURCES = efl_io_copier_simple_example.c 288efl_io_copier_simple_example_SOURCES = efl_io_copier_simple_example.c
288efl_io_copier_simple_example_LDADD = $(ECORE_COMMON_LDADD) 289efl_io_copier_simple_example_LDADD = $(ECORE_COMMON_LDADD)
289 290
291efl_io_queue_example_SOURCES = efl_io_queue_example.c
292efl_io_queue_example_LDADD = $(ECORE_CON_COMMON_LDADD)
293
290efl_net_server_example_SOURCES = efl_net_server_example.c 294efl_net_server_example_SOURCES = efl_net_server_example.c
291efl_net_server_example_LDADD = $(ECORE_CON_COMMON_LDADD) 295efl_net_server_example_LDADD = $(ECORE_CON_COMMON_LDADD)
292 296
@@ -341,6 +345,7 @@ ecore_con_eet_server_example.c \
341ecore_con_eet_descriptor_example.c \ 345ecore_con_eet_descriptor_example.c \
342efl_io_copier_example.c \ 346efl_io_copier_example.c \
343efl_io_copier_simple_example.c \ 347efl_io_copier_simple_example.c \
348efl_io_queue_example.c \
344efl_net_server_example.c \ 349efl_net_server_example.c \
345efl_net_dialer_http_example.c 350efl_net_dialer_http_example.c
346 351