AeroGear Netty SockJS Codec 0.11.0

org.jboss.aerogear.io.netty.handler.codec.sockjs
Interface SockJsServiceFactory

All Known Implementing Classes:
AbstractSockJsServiceFactory

public interface SockJsServiceFactory

A factory for creating SockJsService instances.


Method Summary
 SockJsConfig config()
          The SockJsConfig for the session itself.
 SockJsService create()
          Creates a new instance, or reuse and existing instance, of the service.
 

Method Detail

create

SockJsService create()
Creates a new instance, or reuse and existing instance, of the service. Allows for either creating new instances for every session of to use a single instance, whatever is appropriate for the use case.

Returns:
SockJsService the service instance.

config

SockJsConfig config()
The SockJsConfig for the session itself.

Returns:
Config the configuration for the session.

AeroGear Netty SockJS Codec 0.11.0

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