|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.impl.AbstractServerLoadMonitor
org.directwebremoting.impl.PollingServerLoadMonitor
public class PollingServerLoadMonitor
A default implementation of ServerLoadMonitor
| Constructor Summary | |
|---|---|
PollingServerLoadMonitor()
|
|
| Method Summary | |
|---|---|
long |
getConnectedTime()
What's the longest time that we should wait before asking the client to reconnect? |
int |
getDisconnectedTime()
Controller for poll times. |
void |
setDisconnectedTime(int disconnectedTime)
Accessor for the disconnected time. |
void |
setTimeToNextPoll(int disconnectedTime)
Deprecated. Use setDisconnectedTime(int) instead |
boolean |
supportsStreaming()
If the server is not going to be streaming then we need to tell browsers to just use XHR rather than anything fancier. |
| Methods inherited from class org.directwebremoting.impl.AbstractServerLoadMonitor |
|---|
destroy, shutdownRandomWaitControllers, threadWaitEnding, threadWaitStarting |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PollingServerLoadMonitor()
| Method Detail |
|---|
public boolean supportsStreaming()
ServerLoadMonitor
public long getConnectedTime()
ServerLoadMonitor
public int getDisconnectedTime()
ServerLoadMonitorTODO: We should probably get rid of this and leave it to BasePollHandler?
@Deprecated public void setTimeToNextPoll(int disconnectedTime)
setDisconnectedTime(int) instead
disconnectedTime - How long should clients spend disconnectedpublic void setDisconnectedTime(int disconnectedTime)
disconnectedTime - How long should clients spend disconnected
|
Copyright ยจ 2008 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||