AeroGear Netty SockJS Codec 0.11.0

org.jboss.aerogear.io.netty.handler.codec.sockjs.handler
Class SessionHandler.DefaultSockJsSessionContext

java.lang.Object
  extended by org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.SessionHandler.DefaultSockJsSessionContext
All Implemented Interfaces:
SockJsSessionContext
Enclosing class:
SessionHandler

public class SessionHandler.DefaultSockJsSessionContext
extends Object
implements SockJsSessionContext


Constructor Summary
SessionHandler.DefaultSockJsSessionContext()
           
 
Method Summary
 void close()
          Close the current session.
 io.netty.channel.ChannelHandlerContext getContext()
          Get the underlying ChannelHandlerContext.
 void send(String message)
          Send data to the current session.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionHandler.DefaultSockJsSessionContext

public SessionHandler.DefaultSockJsSessionContext()
Method Detail

send

public void send(String message)
Description copied from interface: SockJsSessionContext
Send data to the current session. This data might be delivered immediately of queued up in the session depending on the type of session (polling, streaming etc)

Specified by:
send in interface SockJsSessionContext
Parameters:
message - the message to be sent.

close

public void close()
Description copied from interface: SockJsSessionContext
Close the current session.

Specified by:
close in interface SockJsSessionContext

getContext

public io.netty.channel.ChannelHandlerContext getContext()
Description copied from interface: SockJsSessionContext
Get the underlying ChannelHandlerContext.

Specified by:
getContext in interface SockJsSessionContext

AeroGear Netty SockJS Codec 0.11.0

Copyright © 2014 JBoss by Red Hat. All Rights Reserved.