aboutsummaryrefslogtreecommitdiffstats
path: root/pages/develop/api/efl/net/server/unix/method/client_add.txt
diff options
context:
space:
mode:
Diffstat (limited to 'pages/develop/api/efl/net/server/unix/method/client_add.txt')
-rw-r--r--pages/develop/api/efl/net/server/unix/method/client_add.txt26
1 files changed, 13 insertions, 13 deletions
diff --git a/pages/develop/api/efl/net/server/unix/method/client_add.txt b/pages/develop/api/efl/net/server/unix/method/client_add.txt
index d7e728c64..bf8264db2 100644
--- a/pages/develop/api/efl/net/server/unix/method/client_add.txt
+++ b/pages/develop/api/efl/net/server/unix/method/client_add.txt
@@ -1,4 +1,17 @@
~~Title: Efl.Net.Server.Unix.client_add~~
+===== Description =====
+
+%%Accepts a new client, should emit "client,add".%%
+
+%%Remember to create the client object with a callback to EFL_IO_CLOSER_EVENT_CLOSED during the construction and decrease %%[[:develop:api:efl:net:server:property:clients_count|Efl.Net.Server.clients_count]]%% as well as unref the client and remove yourself as parent.%%
+
+%%The new clients should have the server as parent and increase the %%[[:develop:api:efl:net:server:property:clients_count|Efl.Net.Server.clients_count]]%%.%%
+
+%%Whenever this function fails, it must close the given client file descriptor.%%
+
+//Since 1.19//
+{{page>:develop:api-include:efl:net:server:unix:method:client_add:description&nouser&nolink&nodate}}
+
//Overridden from [[:develop:api:efl:net:server:fd:method:client_add|Efl.Net.Server.Fd.client_add]].//===== Signature =====
<code>
@@ -19,19 +32,6 @@ void efl_net_server_fd_client_add(Eo *obj, int client_fd);
* **client_fd** //(in)// - %%The file descriptor of the client socket. It comes preconfigured with close_on_exec. On failure, remember to close this socket%%
-===== Description =====
-
-%%Accepts a new client, should emit "client,add".%%
-
-%%Remember to create the client object with a callback to EFL_IO_CLOSER_EVENT_CLOSED during the construction and decrease %%[[:develop:api:efl:net:server:property:clients_count|Efl.Net.Server.clients_count]]%% as well as unref the client and remove yourself as parent.%%
-
-%%The new clients should have the server as parent and increase the %%[[:develop:api:efl:net:server:property:clients_count|Efl.Net.Server.clients_count]]%%.%%
-
-%%Whenever this function fails, it must close the given client file descriptor.%%
-
-//Since 1.19//
-{{page>:develop:api-include:efl:net:server:unix:method:client_add:description&nouser&nolink&nodate}}
-
===== Implemented by =====
* [[:develop:api:efl:net:server:fd:method:client_add|Efl.Net.Server.Fd.client_add]]