summaryrefslogtreecommitdiff
path: root/src/lib/ecore_con/ecore_con_base.eo
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2014-08-28 14:17:16 +0100
committerTom Hacohen <tom@stosb.com>2014-08-28 14:31:17 +0100
commitbba7ac87f15be9bc86be0baee6e2942ea4047230 (patch)
tree3e5c6fbfe4a5d591512009115d47241811748939 /src/lib/ecore_con/ecore_con_base.eo
parentbdb60f017f21131ed8ed35e76ed5e8bca218b9c6 (diff)
Ecore con: Add Connector class (the connecting variant of server).
This change also consists of cleaning up the server class and adding a constructor and a finalizer to it.
Diffstat (limited to 'src/lib/ecore_con/ecore_con_base.eo')
-rw-r--r--src/lib/ecore_con/ecore_con_base.eo8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/ecore_con/ecore_con_base.eo b/src/lib/ecore_con/ecore_con_base.eo
index b8a3db3..7c75bff 100644
--- a/src/lib/ecore_con/ecore_con_base.eo
+++ b/src/lib/ecore_con/ecore_con_base.eo
@@ -38,6 +38,9 @@ abstract Ecore.Con.Base (Eo.Base) {
38 * @brief Return the port that the obj is connected to 38 * @brief Return the port that the obj is connected to
39 * 39 *
40 */ 40 */
41 set {
42 legacy: null;
43 }
41 get { 44 get {
42 legacy: null; 45 legacy: null;
43 } 46 }
@@ -156,6 +159,7 @@ abstract Ecore.Con.Base (Eo.Base) {
156 implements { 159 implements {
157 virtual.ip.get; 160 virtual.ip.get;
158 virtual.uptime.get; 161 virtual.uptime.get;
162 virtual.port.set;
159 virtual.port.get; 163 virtual.port.get;
160 virtual.fd.get; 164 virtual.fd.get;
161 virtual.connected.get; 165 virtual.connected.get;
@@ -194,7 +198,9 @@ type Ecore_Con_Dns_Cb: func void (const(char) *canonname,
194* Add events (to all of the ecore con stuff, e.g url). 198* Add events (to all of the ecore con stuff, e.g url).
195* Make server the father of the client - make sure I don't leak references. 199* Make server the father of the client - make sure I don't leak references.
196* 200*
197* Still need to add constructors to server/client, and most likely migrate ecore_con_eet. 201* Still need to add constructor client, and most likely migrate ecore_con_eet.
198* 202*
199* Split server to two classes, listener and connector (or w/e). 203* Split server to two classes, listener and connector (or w/e).
204*
205* Mark the constructing properties all around.
200*/ 206*/