summaryrefslogtreecommitdiff
path: root/src/lib/ecore_con/ecore_con_base.eo
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/ecore_con_base.eo
parente126911ba0d34542fc3378971ced63f40851e198 (diff)
eolian: change all EFL .eo files to use new syntax for properties
Diffstat (limited to 'src/lib/ecore_con/ecore_con_base.eo')
-rw-r--r--src/lib/ecore_con/ecore_con_base.eo16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/lib/ecore_con/ecore_con_base.eo b/src/lib/ecore_con/ecore_con_base.eo
index b56252f..ff277b8 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.