org.usergrid.websocket
Class WebSocketServer

java.lang.Object
  extended by org.usergrid.websocket.WebSocketServer

public class WebSocketServer
extends Object

An HTTP server which serves Web Socket requests at: http://localhost:8080/websocket Open your browser at http://localhost:8080/, then the demo page will be loaded and a Web Socket connection will be made automatically.


Constructor Summary
WebSocketServer()
           
 
Method Summary
 String[] getApplicationContextLocations()
           
 Properties getProperties()
           
static void main(String[] args)
           
 void setEntityManagerFactory(EntityManagerFactory emf)
           
 void setManagementService(ManagementService management)
           
 void setProperties(Properties properties)
           
 void setRealm(org.apache.shiro.realm.Realm realm)
           
 void setServiceManagerFactory(ServiceManagerFactory smf)
           
 void setSsl(boolean ssl)
           
 void startServer()
           
 void startSpring()
           
 void stopServer()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebSocketServer

public WebSocketServer()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

setEntityManagerFactory

@Autowired
public void setEntityManagerFactory(EntityManagerFactory emf)

setServiceManagerFactory

@Autowired
public void setServiceManagerFactory(ServiceManagerFactory smf)

setManagementService

@Autowired
public void setManagementService(ManagementService management)

setSsl

public void setSsl(boolean ssl)

setRealm

@Autowired
public void setRealm(org.apache.shiro.realm.Realm realm)

getProperties

public Properties getProperties()

setProperties

@Autowired
public void setProperties(Properties properties)

getApplicationContextLocations

public String[] getApplicationContextLocations()

startSpring

public void startSpring()

startServer

public void startServer()

stopServer

public void stopServer()


Copyright © 2013. All Rights Reserved.