org.atmosphere.gwt.client.extra
Class AtmosphereProxy
java.lang.Object
org.atmosphere.gwt.client.extra.AtmosphereProxy
- All Implemented Interfaces:
- UserInterface
public class AtmosphereProxy
- extends Object
- implements UserInterface
- Author:
- p.havelaar
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AtmosphereProxy
public AtmosphereProxy(String url,
AtmosphereGWTSerializer serializer,
AtmosphereListener clientListener)
start
public void start()
- Specified by:
start in interface UserInterface
stop
public void stop()
- Specified by:
stop in interface UserInterface
isUseWebSockets
public boolean isUseWebSockets()
setUseWebSockets
public void setUseWebSockets(boolean useWebSockets)
post
public void post(Object message)
- Specified by:
post in interface UserInterface
post
public void post(List<?> messages)
- Specified by:
post in interface UserInterface
post
public void post(Object message,
com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
- Specified by:
post in interface UserInterface
post
public void post(List<?> messages,
com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
- Specified by:
post in interface UserInterface
broadcast
public void broadcast(Object message)
- Specified by:
broadcast in interface UserInterface
broadcast
public void broadcast(List<?> messages)
- Specified by:
broadcast in interface UserInterface
localBroadcast
public void localBroadcast(Object message)
localBroadcast
public void localBroadcast(List<?> messages)
initialize
protected void initialize()
onWindowClosing
protected void onWindowClosing(com.google.gwt.user.client.Window.ClosingEvent event)
onEvent
protected void onEvent(Window source,
AtmosphereProxyEvent event,
String rawEvent)
event
protected AtmosphereProxyEvent event(AtmosphereProxyEvent.EventType type)
dispatchEvent
protected void dispatchEvent(Window target,
AtmosphereProxyEvent event)
dispatchEvent
protected void dispatchEvent(AtmosphereProxyEvent event)
dispatchRawEvent
protected void dispatchRawEvent(Window target,
String event)
dispatchRawEvent
protected void dispatchRawEvent(String event)
serialize
protected String serialize(AtmosphereProxyEvent event)
deserialize
protected AtmosphereProxyEvent deserialize(String data)
Copyright © 2013. All Rights Reserved.