2016-05-11 05:00:57 -07:00
|
|
|
class Efl.Network.Client (Efl.Network) {
|
2016-04-26 02:53:50 -07:00
|
|
|
[[Efl network client]]
|
2016-02-12 12:02:01 -08:00
|
|
|
legacy_prefix: ecore_con_client;
|
|
|
|
eo_prefix: efl_network_client_obj;
|
2015-05-07 08:36:45 -07:00
|
|
|
methods {
|
|
|
|
@property server {
|
2016-04-26 02:53:50 -07:00
|
|
|
[[The server the client is connected to.]]
|
2014-08-22 05:14:59 -07:00
|
|
|
get {
|
|
|
|
}
|
|
|
|
values {
|
2016-05-23 07:41:28 -07:00
|
|
|
svr: Efl.Network.Server; [[The server the client is connected to.]]
|
2014-08-22 05:14:59 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
implements {
|
2016-08-10 07:23:04 -07:00
|
|
|
Efl.Object.destructor;
|
2016-05-11 05:00:57 -07:00
|
|
|
Efl.Network.ip.get;
|
|
|
|
Efl.Network.uptime.get;
|
|
|
|
Efl.Network.port.get;
|
|
|
|
Efl.Network.fd.get;
|
|
|
|
Efl.Network.connected.get;
|
|
|
|
Efl.Network.timeout.set;
|
|
|
|
Efl.Network.timeout.get;
|
|
|
|
Efl.Network.flush;
|
|
|
|
Efl.Network.send;
|
2014-08-22 05:14:59 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* FIXME: Should SSL inherit from client? What's exactly the interaction here?
|
|
|
|
Fix clients to be children of server when created .*/
|