主权项 |
1. A method for communicating with a web based portal environment system, the method comprising:
accessing a server via a broadcasting entity, wherein the server, the listening entity, and the broadcasting entity are separate from one another, transmitting, by a listening entity, a handshake request to the broadcasting entity, establishing a hypertext transfer protocol keep-alive connection with the web based portal environment system in response to the handshake request, wherein the hypertext transfer protocol keep-alive connection is established between the broadcasting entity and the listening entity and automatically reopens after closing, receiving, at the listening entity, a unique identifier for the hypertext transfer protocol keep-alive connection, providing, by the listening entity, the unique identifier each time the hypertext transfer protocol keep-alive connection is reopened, receiving, at the listening entity, a temporary timeout value and a final timeout value, the temporary timeout value indicating a duration of time for maintaining the keep-alive connection prior to closing and automatically reopening the keep-alive connection, the final timeout value indicating a period of time from an initiation of the keep-alive connection after which the keep-alive connection, upon being closed, will not automatically reopen, receiving, at the listening entity, a push command from the server via the hypertext transfer protocol keep-alive connection, and executing, at the listening entity, the push command. |