|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.server.notification.UpdateManager
public class UpdateManager
UpdateManager processes update messages from the model service, and sends messages to registed notification clients
| Constructor Summary | |
|---|---|
UpdateManager(ModelServiceApi api,
java.util.Properties properties)
Create UpdateManager for configuration properties |
|
| Method Summary | |
|---|---|
void |
deregisterClient(java.lang.String userId,
javax.jms.Destination destination)
Deregister a destination from a UserId |
void |
handleTransactionMessage(javax.jms.Session session,
javax.jms.BytesMessage message)
Handler an update message from the model service |
void |
registerClient(java.lang.String userId,
javax.jms.Destination destination,
javax.jms.Session session)
Register a User with its destination and a session |
void |
reset(javax.jms.Session session)
Reset cache the cache of acls |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UpdateManager(ModelServiceApi api,
java.util.Properties properties)
api - ModelServiceApi to useproperties - Configuration properties| Method Detail |
|---|
public void reset(javax.jms.Session session)
throws AnzoException
session - JMS Session
AnzoException
public void registerClient(java.lang.String userId,
javax.jms.Destination destination,
javax.jms.Session session)
throws AnzoException
userId - UserId for clientdestination - Destination for clientsession - Session for the destination
AnzoException
public void deregisterClient(java.lang.String userId,
javax.jms.Destination destination)
throws AnzoException
userId - UserId for clientdestination - Destination to deregister
AnzoException
public void handleTransactionMessage(javax.jms.Session session,
javax.jms.BytesMessage message)
throws AnzoException
session - JMS session message came in overmessage - JMS Message containing update message stream
AnzoException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||