org.openanzo.server.notification.web
Class NotificationServer

java.lang.Object
  extended by org.openanzo.server.notification.web.NotificationServer

public class NotificationServer
extends java.lang.Object

NotificationServer connects to JMS server to handle update messages from model server, and sends updates to notification clients

Author:
Matthew Roy ( mroy@cambridgesemantics.com )

Constructor Summary
NotificationServer(ModelServiceApi api, java.util.Properties properties)
          Create new NotificationServer
 
Method Summary
 IJmsProvider getJmsProvider()
          Get the IJmsProvider for this server
 javax.jms.Session getSession()
          Get JMS Session for the connectoin
 UpdateManager getUpdateManager()
          Get UpdateManager for this server
 void reset()
          Handle reset messages
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationServer

public NotificationServer(ModelServiceApi api,
                          java.util.Properties properties)
Create new NotificationServer

Parameters:
api - connection to the server services
properties - Configuration properties
Method Detail

reset

public void reset()
Handle reset messages


getSession

public javax.jms.Session getSession()
Get JMS Session for the connectoin

Returns:
Returns the session.

getJmsProvider

public IJmsProvider getJmsProvider()
Get the IJmsProvider for this server

Returns:
IJmsProvider for this server

getUpdateManager

public UpdateManager getUpdateManager()
Get UpdateManager for this server

Returns:
UpdateManager for this server


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.