aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_con/ecore_con_client.eo
blob: db6859c2c80b2ae7b9cc3cfe7e4a466acacab974 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
class Ecore.Con.Client (Ecore.Con.Base) {
   eo_prefix: ecore_con_client_obj;
   methods {
      @property server {
         [[Controls the server representing the socket the client has
           connected to.]]
         get {
         }
         values {
            svr: Ecore.Con.Server *; [[The server the client is connected to.]]
         }
      }
   }
   implements {
      Eo.Base.destructor;
      Ecore.Con.Base.ip.get;
      Ecore.Con.Base.uptime.get;
      Ecore.Con.Base.port.get;
      Ecore.Con.Base.fd.get;
      Ecore.Con.Base.connected.get;
      Ecore.Con.Base.timeout.set;
      Ecore.Con.Base.timeout.get;
      Ecore.Con.Base.flush;
      Ecore.Con.Base.send;
   }
}

/* FIXME: Should SSL inherit from client? What's exactly the interaction here?
 Fix clients to be children of server when created .*/