summaryrefslogtreecommitdiff
path: root/src/lib/ecore_con
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2015-05-07 16:36:45 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-05-07 16:36:58 +0100
commited0988a22d9439934a5213f4fa96cb7db76c71e3 (patch)
tree8964c7a7fa3d5a059da6136ba6517c12e9f6e236 /src/lib/ecore_con
parente126911ba0d34542fc3378971ced63f40851e198 (diff)
eolian: change all EFL .eo files to use new syntax for properties
Diffstat (limited to 'src/lib/ecore_con')
-rw-r--r--src/lib/ecore_con/ecore_con_base.eo16
-rw-r--r--src/lib/ecore_con/ecore_con_client.eo4
-rw-r--r--src/lib/ecore_con/ecore_con_server.eo10
-rw-r--r--src/lib/ecore_con/ecore_con_url.eo4
4 files changed, 16 insertions, 18 deletions
diff --git a/src/lib/ecore_con/ecore_con_base.eo b/src/lib/ecore_con/ecore_con_base.eo
index b56252f7c0..ff277b8216 100644
--- a/src/lib/ecore_con/ecore_con_base.eo
+++ b/src/lib/ecore_con/ecore_con_base.eo
@@ -2,8 +2,8 @@ abstract Ecore.Con.Base (Eo.Base) {
2 legacy_prefix: ecore_con; 2 legacy_prefix: ecore_con;
3 eo_prefix: ecore_con_obj; 3 eo_prefix: ecore_con_obj;
4 data: null; 4 data: null;
5 properties { 5 methods {
6 ip { 6 @property ip {
7 /** 7 /**
8 * Control the IP address of a server that has been connected to. 8 * Control the IP address of a server that has been connected to.
9 * 9 *
@@ -20,7 +20,7 @@ abstract Ecore.Con.Base (Eo.Base) {
20 const(char)* ip; /*@ The IP address */ 20 const(char)* ip; /*@ The IP address */
21 } 21 }
22 } 22 }
23 uptime { 23 @property uptime {
24 /*@ 24 /*@
25 * @brief Check how long the object has been connected 25 * @brief Check how long the object has been connected
26 * 26 *
@@ -33,7 +33,7 @@ abstract Ecore.Con.Base (Eo.Base) {
33 double uptime; /*@ The total time, in seconds, that the object has been connected. */ 33 double uptime; /*@ The total time, in seconds, that the object has been connected. */
34 } 34 }
35 } 35 }
36 port { 36 @property port {
37 /*@ 37 /*@
38 * @brief Return the port that the obj is connected to 38 * @brief Return the port that the obj is connected to
39 * 39 *
@@ -48,7 +48,7 @@ abstract Ecore.Con.Base (Eo.Base) {
48 int port; /*@ The The port that obj is connected to, or -1 on error. */ 48 int port; /*@ The The port that obj is connected to, or -1 on error. */
49 } 49 }
50 } 50 }
51 fd { 51 @property fd {
52 /*@ 52 /*@
53 * Get the fd that the server is connected to 53 * Get the fd that the server is connected to
54 * 54 *
@@ -65,7 +65,7 @@ abstract Ecore.Con.Base (Eo.Base) {
65 int fd; /*@ The fd, or -1 on failure. */ 65 int fd; /*@ The fd, or -1 on failure. */
66 } 66 }
67 } 67 }
68 connected { 68 @property connected {
69 /*@ 69 /*@
70 * Returns whether the client is still connected 70 * Returns whether the client is still connected
71 */ 71 */
@@ -76,7 +76,7 @@ abstract Ecore.Con.Base (Eo.Base) {
76 bool connected; /*@ Returns True if connected, False otherwise. */ 76 bool connected; /*@ Returns True if connected, False otherwise. */
77 } 77 }
78 } 78 }
79 timeout { 79 @property timeout {
80 /*@ 80 /*@
81 * Control the default time after which an inactive client will be disconnected 81 * Control the default time after which an inactive client will be disconnected
82 * 82 *
@@ -99,8 +99,6 @@ abstract Ecore.Con.Base (Eo.Base) {
99 double timeout; /*@ The timeout, in seconds, to disconnect after. */ 99 double timeout; /*@ The timeout, in seconds, to disconnect after. */
100 } 100 }
101 } 101 }
102 }
103 methods {
104 flush { 102 flush {
105 /*@ 103 /*@
106 * Flushes all pending data to the given server. 104 * Flushes all pending data to the given server.
diff --git a/src/lib/ecore_con/ecore_con_client.eo b/src/lib/ecore_con/ecore_con_client.eo
index dd4e2901fb..4c545fc0cd 100644
--- a/src/lib/ecore_con/ecore_con_client.eo
+++ b/src/lib/ecore_con/ecore_con_client.eo
@@ -1,7 +1,7 @@
1class Ecore.Con.Client (Ecore.Con.Base) { 1class Ecore.Con.Client (Ecore.Con.Base) {
2 eo_prefix: ecore_con_client_obj; 2 eo_prefix: ecore_con_client_obj;
3 properties { 3 methods {
4 server { 4 @property server {
5 /*@ 5 /*@
6 * Controls the server representing the socket the client has 6 * Controls the server representing the socket the client has
7 * connected to. 7 * connected to.
diff --git a/src/lib/ecore_con/ecore_con_server.eo b/src/lib/ecore_con/ecore_con_server.eo
index 8f14bb329c..6eea9399f2 100644
--- a/src/lib/ecore_con/ecore_con_server.eo
+++ b/src/lib/ecore_con/ecore_con_server.eo
@@ -1,7 +1,7 @@
1class Ecore.Con.Server (Ecore.Con.Base) { 1class Ecore.Con.Server (Ecore.Con.Base) {
2 eo_prefix: ecore_con_server_obj; 2 eo_prefix: ecore_con_server_obj;
3 properties { 3 methods {
4 name { 4 @property name {
5 /*@ 5 /*@
6 * Retrieves the name of server. 6 * Retrieves the name of server.
7 * 7 *
@@ -16,7 +16,7 @@ class Ecore.Con.Server (Ecore.Con.Base) {
16 const(char) *name; /*@ The name of the server. */ 16 const(char) *name; /*@ The name of the server. */
17 } 17 }
18 } 18 }
19 client_limit { 19 @property client_limit {
20 /*@ 20 /*@
21 * Sets a limit on the number of clients that can be handled concurrently 21 * Sets a limit on the number of clients that can be handled concurrently
22 * by the given server, and a policy on what to do if excess clients try to 22 * by the given server, and a policy on what to do if excess clients try to
@@ -39,7 +39,7 @@ class Ecore.Con.Server (Ecore.Con.Base) {
39 } 39 }
40 } 40 }
41 /* FIXME: Should this return an iterator? */ 41 /* FIXME: Should this return an iterator? */
42 clients { 42 @property clients {
43 /*@ 43 /*@
44 * Retrieves the current list of clients. 44 * Retrieves the current list of clients.
45 * 45 *
@@ -54,7 +54,7 @@ class Ecore.Con.Server (Ecore.Con.Base) {
54 const(list<const(Ecore.Con.Client) *>) *clients; /*@ The list of clients on this server. */ 54 const(list<const(Ecore.Con.Client) *>) *clients; /*@ The list of clients on this server. */
55 } 55 }
56 } 56 }
57 connection_type { 57 @property connection_type {
58 get { 58 get {
59 legacy: null; 59 legacy: null;
60 } 60 }
diff --git a/src/lib/ecore_con/ecore_con_url.eo b/src/lib/ecore_con/ecore_con_url.eo
index 743e5f2047..d5d21aa21a 100644
--- a/src/lib/ecore_con/ecore_con_url.eo
+++ b/src/lib/ecore_con/ecore_con_url.eo
@@ -1,7 +1,7 @@
1class Ecore.Con.Url (Eo.Base) { 1class Ecore.Con.Url (Eo.Base) {
2 eo_prefix: ecore_con_url_obj; 2 eo_prefix: ecore_con_url_obj;
3 properties { 3 methods {
4 url { 4 @property url {
5 /** 5 /**
6 * Controls the URL to send the request to. 6 * Controls the URL to send the request to.
7 */ 7 */