| java.lang.Object com.lutris.airsent.business.delivery.UpdateImpl
UpdateImpl | public class UpdateImpl implements Update(Code) | | Update handles the backend of the ServerPush technique
by keeping tabs on the delivery changes.
version: %I%, %G% |
Constructor Summary | |
public | UpdateImpl() | public | UpdateImpl(long initialState) Constructor with initial time state. |
Method Summary | |
public long | getUpdateState() Gets the update time. | public long | needUpdate(long browserState, long wait) Gets the update time. | public void | setUpdateState(long updateState) Sets the update state. |
UpdateImpl | public UpdateImpl()(Code) | | Plain Constructor
|
UpdateImpl | public UpdateImpl(long initialState)(Code) | | Constructor with initial time state.
Parameters: initialState - |
getUpdateState | public long getUpdateState()(Code) | | Gets the update time.
|
needUpdate | public long needUpdate(long browserState, long wait) throws AirSentBusinessException(Code) | | Gets the update time.
Parameters: browserState - Parameters: wait - |
setUpdateState | public void setUpdateState(long updateState)(Code) | | Sets the update state.
Parameters: updateState - |
|
|