org.atmosphere.gwt.client.extra
Class AtmosphereProxy

java.lang.Object
  extended by org.atmosphere.gwt.client.extra.AtmosphereProxy

public class AtmosphereProxy
extends Object

Author:
p.havelaar

Constructor Summary
AtmosphereProxy(String url, AtmosphereGWTSerializer serializer, AtmosphereListener clientListener)
           
 
Method Summary
 void broadcast(com.kfuntak.gwt.json.serialization.client.JsonSerializable message)
           
 void broadcast(List<com.kfuntak.gwt.json.serialization.client.JsonSerializable> messages)
           
protected  AtmosphereProxyEvent deserialize(String data)
           
protected  void dispatchEvent(AtmosphereProxyEvent event)
           
protected  void dispatchEvent(Window target, AtmosphereProxyEvent event)
           
protected  void dispatchRawEvent(String event)
           
protected  void dispatchRawEvent(Window target, String event)
           
protected  AtmosphereProxyEvent event(AtmosphereProxyEvent.EventType type)
           
protected  void initialize()
           
 void localBroadcast(com.kfuntak.gwt.json.serialization.client.JsonSerializable message)
           
 void localBroadcast(List<com.kfuntak.gwt.json.serialization.client.JsonSerializable> messages)
           
protected  void onEvent(Window source, AtmosphereProxyEvent event, String rawEvent)
           
protected  void onWindowClosing(com.google.gwt.user.client.Window.ClosingEvent event)
           
 void post(com.kfuntak.gwt.json.serialization.client.JsonSerializable message)
           
 void post(List<com.kfuntak.gwt.json.serialization.client.JsonSerializable> messages)
           
protected  String serialize(AtmosphereProxyEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtmosphereProxy

public AtmosphereProxy(String url,
                       AtmosphereGWTSerializer serializer,
                       AtmosphereListener clientListener)
Method Detail

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.