|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.groupdocs.annotation.service.AnnotationManagedService
@ManagedService(path="/annotation") public class AnnotationManagedService
Socket service for Atmosphere
| Constructor Summary | |
|---|---|
AnnotationManagedService()
|
|
| Method Summary | |
|---|---|
void |
onDisconnect(org.atmosphere.cpr.AtmosphereResourceEvent event)
On disconnect handler |
void |
onMessage(org.atmosphere.cpr.AtmosphereResource resource)
On message handler [POST] |
void |
onReady(org.atmosphere.cpr.AtmosphereResource resource)
On ready handler |
static boolean |
sendMessage(Object message)
Send message to all clients |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnnotationManagedService()
| Method Detail |
|---|
public void onReady(org.atmosphere.cpr.AtmosphereResource resource)
resource - resource data received from socketpublic void onDisconnect(org.atmosphere.cpr.AtmosphereResourceEvent event)
event - resource eventpublic void onMessage(org.atmosphere.cpr.AtmosphereResource resource)
resource - resource data received from socketpublic static boolean sendMessage(Object message)
message - class implements com.groupdocs.annotation.domain.atmosphere.IAnnotationMessage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||