|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServerTransport
Server side extension of a Bayeux transport.
A ServerTransport can be configured with a timeout
(that in the default long polling http transport is the period of time
the server waits before answering to a long poll), an interval
(that in the default long polling http transport is the period of time
that the client waits between long polls), a maximum interval
(that in the default long polling http transport is the period of time
that must elapse before the server consider the client being lost).
Further configuration include the maximum lazy timeout
used for lazy messages and the style of delivery,
that may happen during both responses to requests and via the "/meta/connect" channel,
or via the "/meta/connect" channel exclusively.
| Method Summary | |
|---|---|
Object |
getAdvice()
The advice that this transport sends to inform the client about transport (re)connection. |
BayeuxContext |
getContext()
|
InetSocketAddress |
getCurrentLocalAddress()
Deprecated. use getContext() and BayeuxContext.getLocalAddress() |
InetSocketAddress |
getCurrentRemoteAddress()
Deprecated. use getContext() and BayeuxContext.getRemoteAddress() |
long |
getInterval()
|
long |
getMaxInterval()
|
long |
getMaxLazyTimeout()
|
long |
getTimeout()
|
boolean |
isMetaConnectDeliveryOnly()
|
| Methods inherited from interface org.cometd.bayeux.Transport |
|---|
getName, getOption, getOptionNames, getOptionPrefix |
| Method Detail |
|---|
Object getAdvice()
The advice that this transport sends to inform the client about transport (re)connection.
long getTimeout()
long getInterval()
long getMaxInterval()
long getMaxLazyTimeout()
boolean isMetaConnectDeliveryOnly()
InetSocketAddress getCurrentRemoteAddress()
getContext() and BayeuxContext.getRemoteAddress()
InetSocketAddress getCurrentLocalAddress()
getContext() and BayeuxContext.getLocalAddress()
BayeuxContext getContext()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||