public class LongPollData
extends java.lang.Object
implements javax.servlet.http.HttpSessionBindingListener, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
private int |
pollSessionId |
private LongPollRequest |
request |
private static long |
serialVersionUID |
private LongPollState |
state |
private long |
timestamp |
| Constructor and Description |
|---|
LongPollData(int pollSessionId) |
| Modifier and Type | Method and Description |
|---|---|
int |
getPollSessionId() |
LongPollRequest |
getRequest() |
LongPollState |
getState() |
long |
getTimestamp() |
void |
setRequest(LongPollRequest request) |
void |
setState(LongPollState state) |
void |
updateTimestamp() |
void |
valueBound(javax.servlet.http.HttpSessionBindingEvent evt) |
void |
valueUnbound(javax.servlet.http.HttpSessionBindingEvent evt) |
private static final long serialVersionUID
private final int pollSessionId
private long timestamp
private LongPollRequest request
private LongPollState state
public int getPollSessionId()
public LongPollRequest getRequest()
public void updateTimestamp()
public long getTimestamp()
public void setRequest(LongPollRequest request)
public LongPollState getState()
public void setState(LongPollState state)
public void valueBound(javax.servlet.http.HttpSessionBindingEvent evt)
valueBound in interface javax.servlet.http.HttpSessionBindingListenerpublic void valueUnbound(javax.servlet.http.HttpSessionBindingEvent evt)
valueUnbound in interface javax.servlet.http.HttpSessionBindingListener