org.atmosphere.gwt.client.extra
Class AtmosphereProxy
java.lang.Object
org.atmosphere.gwt.client.extra.AtmosphereProxy
public class AtmosphereProxy
- extends Object
- 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)
post
public void post(com.kfuntak.gwt.json.serialization.client.JsonSerializable message)
post
public void post(List<com.kfuntak.gwt.json.serialization.client.JsonSerializable> messages)
broadcast
public void broadcast(com.kfuntak.gwt.json.serialization.client.JsonSerializable message)
broadcast
public void broadcast(List<com.kfuntak.gwt.json.serialization.client.JsonSerializable> messages)
localBroadcast
public void localBroadcast(com.kfuntak.gwt.json.serialization.client.JsonSerializable message)
localBroadcast
public void localBroadcast(List<com.kfuntak.gwt.json.serialization.client.JsonSerializable> 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 © 2012. All Rights Reserved.