summaryrefslogtreecommitdiff
path: root/src/lib/ecore_con/efl_net_dialer_unix.eo
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-10-26 18:57:37 -0200
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-10-26 19:01:03 -0200
commit651ff136163bf6fb4986f9dfaff09ca3f212178e (patch)
tree2e2781c5a21babafad44a820cc9bf142dc3afe60 /src/lib/ecore_con/efl_net_dialer_unix.eo
parent84ee276b127443e20a0db70666feefcaf1823559 (diff)
addded efl_net_{socket,dialer,server}_unix
This introduces AF_UNIX server and dialer, these are not available on Windows as in that platform we'll create a custom class for native 'local' communication. In the future we can add a wrapper class Efl.Net.Local that will use the class for each platform, but won't expose its details. For instance, if we ever expose 'credentials' (which I didn't because they are not portable), then it doesn't make sense to try to match that on Windows. The 'Efl.Net.Local' would just stick to the basics: Reader, Writer and Closer APIs.
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_con/efl_net_dialer_unix.eo22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/lib/ecore_con/efl_net_dialer_unix.eo b/src/lib/ecore_con/efl_net_dialer_unix.eo
new file mode 100644
index 0000000000..1169dc6d0a
--- /dev/null
+++ b/src/lib/ecore_con/efl_net_dialer_unix.eo
@@ -0,0 +1,22 @@
1class Efl.Net.Dialer.Unix (Efl.Net.Socket.Unix, Efl.Net.Dialer) {
2 [[Connects to a local AF_UNIX server.
3
4 The dial address is a file system path (portable) or
5 "abstract:ID" (Linux-only extension).
6
7 \@note Proxies are meaningless for AF_UNIX family, thus are not
8 implemented.
9
10 @since 1.19
11 ]]
12
13 implements {
14 Efl.Object.constructor;
15 Efl.Object.destructor;
16 Efl.Net.Dialer.dial;
17 Efl.Net.Dialer.address_dial;
18 Efl.Net.Dialer.connected;
19 Efl.Net.Dialer.timeout_dial;
20 Efl.Io.Closer.close;
21 }
22}