org.atmosphere.core
Class Broadcastable<E>
java.lang.Object
org.atmosphere.core.Broadcastable<E>
public class Broadcastable<E>
- extends Object
Simple placeholder that can be used to broadcast message using a specific
Broadcaster.
- Author:
- Jeanfrancois Arcand
|
Method Summary |
E |
broadcast()
Broadcast the message. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
message
public E message
b
public Broadcaster<HttpServletRequest,HttpServletResponse,E> b
Broadcastable
public Broadcastable(E message,
Broadcaster<HttpServletRequest,HttpServletResponse,E> b)
broadcast
public E broadcast()
- Broadcast the message.
- Returns:
- the transformed message (
BroadcastFilter)
Copyright © 2009 SUN Microsystems. All Rights Reserved.