| Package | Description |
|---|---|
| org.atmosphere.cpr | |
| org.atmosphere.handler | |
| org.atmosphere.util | |
| org.atmosphere.websocket |
| Modifier and Type | Class and Description |
|---|---|
class |
AtmosphereResourceEventImpl
AtmosphereResourceEvent implementation for Servlet Container. |
| Modifier and Type | Method and Description |
|---|---|
AtmosphereResourceEvent |
AtmosphereResourceEventImpl.destroy() |
AtmosphereResourceEvent |
AtmosphereResource.getAtmosphereResourceEvent()
Return the current
AtmosphereResourceEvent. |
protected AtmosphereResourceEvent |
AtmosphereResourceEventImpl.setCancelled(boolean isCancelled) |
protected AtmosphereResourceEvent |
AtmosphereResourceEventImpl.setIsResumedOnTimeout(boolean isResumedOnTimeout) |
AtmosphereResourceEvent |
AtmosphereResourceEventImpl.setMessage(java.lang.Object message)
Set the message broadcasted using
Broadcaster.broadcast(java.lang.Object) |
AtmosphereResourceEvent |
AtmosphereResourceEvent.setMessage(java.lang.Object o)
Set an Object that can be retrieved with
getMessage(). |
AtmosphereResourceEvent |
AtmosphereResourceEventImpl.setThrowable(java.lang.Throwable t) |
AtmosphereResourceEvent |
AtmosphereResourceEventImpl.write(byte[] o)
Write the
byte using the underlying AtmosphereResponse.getOutputStream() |
AtmosphereResourceEvent |
AtmosphereResourceEvent.write(byte[] o)
Write the
byte using the underlying AtmosphereResponse.getOutputStream() |
AtmosphereResourceEvent |
AtmosphereResourceEventImpl.write(java.io.OutputStream os,
java.lang.Object o)
|
AtmosphereResourceEvent |
AtmosphereResourceEvent.write(java.io.OutputStream os,
java.lang.Object o)
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
DefaultBroadcaster.checkCachedAndPush(AtmosphereResource r,
AtmosphereResourceEvent e)
Return false if no cached messages has been found, true if cached.
|
protected void |
DefaultBroadcaster.invokeOnStateChange(AtmosphereResource r,
AtmosphereResourceEvent e) |
AtmosphereResource |
AtmosphereResourceImpl.notifyListeners(AtmosphereResourceEvent event)
Notify
AtmosphereResourceEventListener. |
AtmosphereResource |
AtmosphereResource.notifyListeners(AtmosphereResourceEvent e)
Notify
AtmosphereResourceEventListener. |
void |
AtmosphereResourceEventListenerAdapter.onBroadcast(AtmosphereResourceEvent event)
Invoked when a
Broadcaster.broadcast(T) occurs. |
void |
AtmosphereResourceEventListener.onBroadcast(AtmosphereResourceEvent event)
Invoked when a
Broadcaster.broadcast(T) occurs. |
void |
AtmosphereResourceEventListenerAdapter.onDisconnect(AtmosphereResourceEvent event)
Invoked when the remote connection gets closed.
|
void |
AtmosphereResourceEventListener.onDisconnect(AtmosphereResourceEvent event)
Invoked when the remote connection gets closed.
|
void |
AtmosphereResourceEventListenerAdapter.onResume(AtmosphereResourceEvent event)
Invoked when the
AtmosphereResource.resume() is invoked or when the
suspend's time out expires. |
void |
AtmosphereResourceEventListener.onResume(AtmosphereResourceEvent event)
Invoked when the
AtmosphereResource.resume() is invoked or when the
suspend's time out expires. |
void |
AtmosphereHandler.onStateChange(AtmosphereResourceEvent event)
This method is invoked when the
Broadcaster execute a broadcast
operations. |
void |
AtmosphereResourceEventListenerAdapter.onSuspend(AtmosphereResourceEvent event)
Invoked when the
AtmosphereResource.suspend() has been completed and the response
considered as suspended. |
void |
AtmosphereResourceEventListener.onSuspend(AtmosphereResourceEvent event)
Invoked when the
AtmosphereResource.suspend() has been completed and the response
considered as suspended. |
void |
AtmosphereResourceEventListenerAdapter.onThrowable(AtmosphereResourceEvent event)
Invoked when an operations failed to execute for an unknown reason like : IOException because the client
remotly closed the connection, a broken connection, etc.
|
void |
AtmosphereResourceEventListener.onThrowable(AtmosphereResourceEvent event)
Invoked when an operations failed to execute for an unknown reason like : IOException because the client
remotly closed the connection, a broken connection, etc.
|
protected void |
DefaultBroadcaster.prepareInvokeOnStateChange(AtmosphereResource r,
AtmosphereResourceEvent e) |
protected boolean |
DefaultBroadcaster.retrieveTrackedBroadcast(AtmosphereResource r,
AtmosphereResourceEvent e) |
| Modifier and Type | Method and Description |
|---|---|
void |
OnMessage.onStateChange(AtmosphereResourceEvent event) |
void |
AbstractReflectorAtmosphereHandler.onStateChange(AtmosphereResourceEvent event)
Write the
getMessage() back to the client using
the AtmosphereResponse.getOutputStream() or AtmosphereResponse.getWriter(). |
protected void |
AbstractReflectorAtmosphereHandler.postStateChange(AtmosphereResourceEvent event)
Inspect the event and decide if the underlying connection must be resumed.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractBroadcasterProxy.invokeOnStateChange(AtmosphereResource r,
AtmosphereResourceEvent e) |
protected void |
SimpleBroadcaster.prepareInvokeOnStateChange(AtmosphereResource r,
AtmosphereResourceEvent e) |
| Modifier and Type | Method and Description |
|---|---|
void |
WebSocketEventListenerAdapter.onBroadcast(AtmosphereResourceEvent event)
Invoked when a
Broadcaster.broadcast(T) occurs. |
void |
WebSocketEventListenerAdapter.onDisconnect(AtmosphereResourceEvent event)
Invoked when the remote connection gets closed.
|
void |
WebSocketEventListenerAdapter.onResume(AtmosphereResourceEvent event)
Invoked when the
AtmosphereResource.resume() is invoked or when the
suspend's time out expires. |
void |
WebSocketEventListenerAdapter.onSuspend(AtmosphereResourceEvent event)
Invoked when the
AtmosphereResource.suspend() has been completed and the response
considered as suspended. |
void |
WebSocketEventListenerAdapter.onThrowable(AtmosphereResourceEvent event)
Invoked when an operations failed to execute for an unknown reason like : IOException because the client
remotly closed the connection, a broken connection, etc.
|
Copyright © 2018. All Rights Reserved.