[edit] Push Mail
Currently push mail supports the following methods in funambol:
- WAP-PUSH (SMS)
- Server TCP/IP Push(STP)
- Client TCP/IP Push (CTP)
- Light polling
[edit] Wap-Push
Server sends a wap-push notification message in the form of a chain of sms with the push PKG#0.
When the client receives it, starts the syncro (if the user ack's to it)
[edit] Server tcp/ip Push
Device starts a service listening on a defined tcp port.
Server just sends the PKG#0 to the client, for doing so it need to meet two conditions:
- The server must know the client ip. (so it's needed the client to send its ip to the server)
- The device ip must be accesible from the server network (network-operator dependant)
Having a service in the client can be a security problem
[edit] Client TCP/IP Push
The client stabilishes a connection to the server, then starts a blocking read on the connection waiting for the PKG#0, the server keeps all connections alive.
It needs a considerable amount of resources on the server when the number of devices grow
[edit] Light polling
Client waits for PKG#0 for a while and then disconnects, reconnecting later.
- Connects to the server
- Blocking read with timeout
- If PKG#0 the timeout is reset
- If not PKG#0 within the timeout client drops conn and waits.
[edit] Sources
Funambol's funambol_ds_server_push_design.odt from cvs. No link found.
|