Data Structures | Typedefs | Functions | Variables
Ecore Connection Events Functions

The Ecore Con events can be categorized into Server side events and Client side events. More...

Data Structures

struct  _Ecore_Con_Event_Client_Add
 Used as the data param for the ECORE_CON_EVENT_CLIENT_ADD event. More...
 
struct  _Ecore_Con_Event_Client_Upgrade
 Used as the data param for the ECORE_CON_EVENT_CLIENT_UPGRADE event. More...
 
struct  _Ecore_Con_Event_Client_Del
 Used as the data param for the ECORE_CON_EVENT_CLIENT_DEL event. More...
 
struct  _Ecore_Con_Event_Client_Error
 Used as the data param for the ECORE_CON_EVENT_CLIENT_ERROR event. More...
 
struct  _Ecore_Con_Event_Server_Add
 Used as the data param for the ECORE_CON_EVENT_SERVER_ADD event. More...
 
struct  _Ecore_Con_Event_Server_Upgrade
 Used as the data param for the ECORE_CON_EVENT_SERVER_UPGRADE event. More...
 
struct  _Ecore_Con_Event_Server_Del
 Used as the data param for the ECORE_CON_EVENT_SERVER_DEL event. More...
 
struct  _Ecore_Con_Event_Server_Error
 Used as the data param for the ECORE_CON_EVENT_SERVER_ERROR event. More...
 
struct  _Ecore_Con_Event_Client_Data
 Used as the data param for the ECORE_CON_EVENT_CLIENT_DATA event. More...
 
struct  _Ecore_Con_Event_Server_Data
 Used as the data param for the ECORE_CON_EVENT_SERVER_DATA event. More...
 
struct  _Ecore_Con_Event_Client_Write
 Used as the data param for the ECORE_CON_EVENT_CLIENT_WRITE event. More...
 
struct  _Ecore_Con_Event_Server_Write
 Used as the data param for the ECORE_CON_EVENT_SERVER_WRITE event. More...
 
struct  _Ecore_Con_Event_Proxy_Bind
 Used as the data param for the ECORE_CON_EVENT_PROXY_BIND event. More...
 
struct  _Efl_Network_Event_Url_Data
 Used as the data param for the EFL_NETWORK_EVENT_URL_DATA event. More...
 
struct  _Ecore_Con_Event_Url_Data
 Used as the data param for the ECORE_CON_EVENT_URL_DATA event. More...
 
struct  _Ecore_Con_Event_Url_Complete
 Used as the data param for the ECORE_CON_EVENT_URL_COMPLETE event. More...
 
struct  _Ecore_Con_Event_Url_Progress
 Used as the data param for the ECORE_CON_EVENT_URL_PROGRESS event. More...
 

Typedefs

typedef struct _Ecore_Con_Event_Client_Add Ecore_Con_Event_Client_Add
 Used as the data param for the corresponding event.
 
typedef struct _Ecore_Con_Event_Client_Upgrade Ecore_Con_Event_Client_Upgrade
 Used as the data param for the corresponding event. More...
 
typedef struct _Ecore_Con_Event_Client_Del Ecore_Con_Event_Client_Del
 Used as the data param for the corresponding event.
 
typedef struct _Ecore_Con_Event_Client_Error Ecore_Con_Event_Client_Error
 Used as the data param for the corresponding event. More...
 
typedef struct _Ecore_Con_Event_Server_Add Ecore_Con_Event_Server_Add
 Used as the data param for the corresponding event.
 
typedef struct _Ecore_Con_Event_Server_Upgrade Ecore_Con_Event_Server_Upgrade
 Used as the data param for the corresponding event. More...
 
typedef struct _Ecore_Con_Event_Server_Del Ecore_Con_Event_Server_Del
 Used as the data param for the corresponding event.
 
typedef struct _Ecore_Con_Event_Server_Error Ecore_Con_Event_Server_Error
 Used as the data param for the corresponding event. More...
 
typedef struct _Ecore_Con_Event_Client_Data Ecore_Con_Event_Client_Data
 Used as the data param for the corresponding event.
 
typedef struct _Ecore_Con_Event_Server_Data Ecore_Con_Event_Server_Data
 Used as the data param for the corresponding event.
 
typedef struct _Ecore_Con_Event_Client_Write Ecore_Con_Event_Client_Write
 Used as the data param for the corresponding event. More...
 
typedef struct _Ecore_Con_Event_Server_Write Ecore_Con_Event_Server_Write
 Used as the data param for the corresponding event. More...
 
typedef struct _Ecore_Con_Event_Proxy_Bind Ecore_Con_Event_Proxy_Bind
 Used as the data param for the corresponding event. More...
 

Functions

EAPI int ecore_con_init (void)
 Initialise the Ecore_Con library. More...
 
EAPI int ecore_con_shutdown (void)
 Shut down the Ecore_Con library. More...
 

Variables

EAPI int ECORE_CON_EVENT_CLIENT_ADD
 A client has connected to the server.
 
EAPI int ECORE_CON_EVENT_CLIENT_DEL
 A client has disconnected from the server.
 
EAPI int ECORE_CON_EVENT_CLIENT_ERROR
 A client experienced an error. More...
 
EAPI int ECORE_CON_EVENT_CLIENT_UPGRADE
 A client connection has been upgraded to SSL. More...
 
EAPI int ECORE_CON_EVENT_SERVER_ADD
 A server was created.
 
EAPI int ECORE_CON_EVENT_SERVER_DEL
 A server connection was lost.
 
EAPI int ECORE_CON_EVENT_SERVER_ERROR
 A server experienced an error. More...
 
EAPI int ECORE_CON_EVENT_SERVER_UPGRADE
 A server connection has been upgraded to SSL. More...
 
EAPI int ECORE_CON_EVENT_CLIENT_WRITE
 A server connection has sent data to its client. More...
 
EAPI int ECORE_CON_EVENT_SERVER_WRITE
 A server connection object has sent data. More...
 
EAPI int ECORE_CON_EVENT_CLIENT_DATA
 A client connected to the server has sent data.
 
EAPI int ECORE_CON_EVENT_SERVER_DATA
 A server connection object has data.
 
EAPI int ECORE_CON_EVENT_PROXY_BIND
 A server connection has successfully negotiated an ip:port binding. More...
 
EAPI int ECORE_CON_EVENT_URL_DATA
 A URL object has data.
 
EAPI int ECORE_CON_EVENT_URL_COMPLETE
 A URL object has completed its transfer to and from the server and can be reused.
 
EAPI int ECORE_CON_EVENT_URL_PROGRESS
 A URL object has made progress in its transfer.
 

Detailed Description

The Ecore Con events can be categorized into Server side events and Client side events.

Server side events:

Client side events:

Typedef Documentation

§ Ecore_Con_Event_Client_Upgrade

Used as the data param for the corresponding event.

Since
1.1

§ Ecore_Con_Event_Client_Error

Used as the data param for the corresponding event.

Since
1.1

§ Ecore_Con_Event_Server_Upgrade

Used as the data param for the corresponding event.

Since
1.1

§ Ecore_Con_Event_Server_Error

Used as the data param for the corresponding event.

Since
1.1

§ Ecore_Con_Event_Client_Write

Used as the data param for the corresponding event.

Since
1.1

§ Ecore_Con_Event_Server_Write

Used as the data param for the corresponding event.

Since
1.1

§ Ecore_Con_Event_Proxy_Bind

Used as the data param for the corresponding event.

Since
1.2

Function Documentation

§ ecore_con_init()

EAPI int ecore_con_init ( void  )

Initialise the Ecore_Con library.

Returns
Number of times the library has been initialised without being shut down.
Note
This function already calls ecore_init() internally, so you don't need to call it explicitly.

References ecore_event_type_new(), ecore_init(), eina_log_domain_register(), eina_log_timing(), eina_magic_string_set(), and evil_init().

Referenced by ecore_ipc_init(), and elm_quicklaunch_sub_init().

§ ecore_con_shutdown()

EAPI int ecore_con_shutdown ( void  )

Shut down the Ecore_Con library.

Returns
Number of times the library has been initialised without being shut down.
Note
This function already calls ecore_shutdown() internally, so you don't need to call it explicitly unless you called ecore_init() explicitly too.

References eina_log_timing(), and ERR.

Referenced by ecore_ipc_shutdown(), and elm_quicklaunch_sub_shutdown().

Variable Documentation

§ ECORE_CON_EVENT_CLIENT_ERROR

EAPI int ECORE_CON_EVENT_CLIENT_ERROR

A client experienced an error.

Since
1.1

Referenced by ecore_con_ssl_client_upgrade().

§ ECORE_CON_EVENT_CLIENT_UPGRADE

EAPI int ECORE_CON_EVENT_CLIENT_UPGRADE

A client connection has been upgraded to SSL.

Since
1.1

§ ECORE_CON_EVENT_SERVER_ERROR

EAPI int ECORE_CON_EVENT_SERVER_ERROR

A server experienced an error.

Since
1.1

Referenced by ecore_con_ssl_client_upgrade().

§ ECORE_CON_EVENT_SERVER_UPGRADE

EAPI int ECORE_CON_EVENT_SERVER_UPGRADE

A server connection has been upgraded to SSL.

Since
1.1

§ ECORE_CON_EVENT_CLIENT_WRITE

EAPI int ECORE_CON_EVENT_CLIENT_WRITE

A server connection has sent data to its client.

Since
1.1

§ ECORE_CON_EVENT_SERVER_WRITE

EAPI int ECORE_CON_EVENT_SERVER_WRITE

A server connection object has sent data.

Since
1.1

§ ECORE_CON_EVENT_PROXY_BIND

EAPI int ECORE_CON_EVENT_PROXY_BIND

A server connection has successfully negotiated an ip:port binding.

Since
1.2

Referenced by ecore_con_client_fd_get().