java.lang.Object
org.cometd.server.http.TransportContext
-
Constructor Summary
ConstructorsConstructorDescriptionTransportContext
(BayeuxContext bayeuxContext, CometDRequest cometDRequest, CometDResponse cometDResponse, Promise<Void> promise) -
Method Summary
Modifier and TypeMethodDescriptionmessages()
void
messages
(List<ServerMessage.Mutable> messages) long
void
metaConnectCycle
(long l) promise()
replies()
request()
response()
boolean
void
scheduleExpiration
(boolean b) void
scheduler
(AbstractHttpTransport.HttpScheduler httpScheduler) boolean
void
sendQueue
(boolean b) session()
void
session
(ServerSessionImpl session)
-
Constructor Details
-
TransportContext
public TransportContext(BayeuxContext bayeuxContext, CometDRequest cometDRequest, CometDResponse cometDResponse, Promise<Void> promise)
-
-
Method Details
-
bayeuxContext
-
request
-
response
-
promise
-
messages
-
messages
-
metaConnectCycle
public long metaConnectCycle() -
metaConnectCycle
public void metaConnectCycle(long l) -
replies
-
scheduleExpiration
public void scheduleExpiration(boolean b) -
scheduleExpiration
public boolean scheduleExpiration() -
scheduler
-
scheduler
-
sendQueue
public void sendQueue(boolean b) -
sendQueue
public boolean sendQueue() -
session
-
session
-