org.atmosphere.gwt.client.impl
Class ServerTransportProtocol

java.lang.Object
  extended by org.atmosphere.gwt.client.impl.ServerTransportProtocol
All Implemented Interfaces:
ServerTransport
Direct Known Subclasses:
BaseCometTransport.RPCServerTransport

public abstract class ServerTransportProtocol
extends Object
implements ServerTransport

Author:
p.havelaar

Constructor Summary
ServerTransportProtocol()
           
 
Method Summary
 void broadcast(List messages)
           
 void broadcast(Object message)
           
 void disconnect()
           
protected  String pack(org.atmosphere.gwt.client.impl.ServerTransportProtocol.MessageType msgType, org.atmosphere.gwt.client.impl.ServerTransportProtocol.ActionType actType)
           
protected  String pack(org.atmosphere.gwt.client.impl.ServerTransportProtocol.MessageType msgType, org.atmosphere.gwt.client.impl.ServerTransportProtocol.ActionType actType, String message)
           
 void post(List messages, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
           
 void post(Object message, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerTransportProtocol

public ServerTransportProtocol()
Method Detail

disconnect

public void disconnect()
Specified by:
disconnect in interface ServerTransport

broadcast

public void broadcast(Object message)
Specified by:
broadcast in interface ServerTransport

broadcast

public void broadcast(List messages)
Specified by:
broadcast in interface ServerTransport

post

public void post(Object message,
                 com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
Specified by:
post in interface ServerTransport

post

public void post(List messages,
                 com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
Specified by:
post in interface ServerTransport

pack

protected String pack(org.atmosphere.gwt.client.impl.ServerTransportProtocol.MessageType msgType,
                      org.atmosphere.gwt.client.impl.ServerTransportProtocol.ActionType actType)

pack

protected String pack(org.atmosphere.gwt.client.impl.ServerTransportProtocol.MessageType msgType,
                      org.atmosphere.gwt.client.impl.ServerTransportProtocol.ActionType actType,
                      String message)


Copyright © 2012. All Rights Reserved.