@ManagedService(path="/chat")
public class Chat
extends java.lang.Object
| Constructor and Description |
|---|
Chat() |
| Modifier and Type | Method and Description |
|---|---|
void |
onDisconnect(org.atmosphere.cpr.AtmosphereResourceEvent event)
Invoked when the client disconnect or when an unexpected closing of the underlying connection happens.
|
Message |
onMessage(Message message)
Simple annotated class that demonstrate how
Encoder and Decoder
can be used. |
void |
onReady(org.atmosphere.cpr.AtmosphereResource r)
Invoked when the connection as been fully established and suspended, e.g ready for receiving messages.
|
public void onReady(org.atmosphere.cpr.AtmosphereResource r)
r - public void onDisconnect(org.atmosphere.cpr.AtmosphereResourceEvent event)
event - Copyright © 2018. All Rights Reserved.