org.webbitserver.netty
Class NettyEventSourceConnection
java.lang.Object
org.webbitserver.netty.AbstractHttpConnection
org.webbitserver.netty.NettyEventSourceConnection
- All Implemented Interfaces:
- Executor, DataHolder, EventSourceConnection, HttpConnection
public class NettyEventSourceConnection
- extends AbstractHttpConnection
- implements EventSourceConnection
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NettyEventSourceConnection
public NettyEventSourceConnection(Executor executor,
NettyHttpRequest nettyHttpRequest,
org.jboss.netty.channel.ChannelHandlerContext ctx)
send
public NettyEventSourceConnection send(EventSourceMessage message)
- Specified by:
send in interface EventSourceConnection
data
public NettyEventSourceConnection data(String key,
Object value)
- Description copied from interface:
DataHolder
- Store data value by key.
- Specified by:
data in interface DataHolder- Specified by:
data in interface EventSourceConnection
- See Also:
DataHolder.data()
close
public NettyEventSourceConnection close()
- Specified by:
close in interface EventSourceConnection- Specified by:
close in interface HttpConnection
Copyright © 2013. All Rights Reserved.