|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.serialization.handlers.HandlerAdapter
org.openanzo.services.NotificationListenerAdapter
public class NotificationListenerAdapter
Adapter that extends the RepositoryHandlerAdapter to add the callbacks from INotificationListener
| Field Summary |
|---|
| Fields inherited from interface org.openanzo.services.INotificationListener |
|---|
CONNECTED, CONNECTIONFAILED, DISCONNECTED |
| Constructor Summary | |
|---|---|
NotificationListenerAdapter()
|
|
| Method Summary | |
|---|---|
void |
connectionStateChanged(int state)
Event about the state of the INotificationService's connection to the NotificationServer |
void |
noticiationException(AnzoException exception)
Exception was thrown within the INotificationService |
| Methods inherited from class org.openanzo.serialization.handlers.HandlerAdapter |
|---|
handleAci, handleAcl, handleCommandEnd, handleCommandStart, handleEndDocument, handleError, handleNamedGraph, handleNode, handleReset, handleRole, handleStartDocument, handleStatement, handleSubRoleOf, handleTransactionEnd, handleTransactionStart, handleUser, handleUserInRole |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.openanzo.serialization.IRepositoryHandler |
|---|
handleAci, handleAcl, handleCommandEnd, handleCommandStart, handleEndDocument, handleError, handleNamedGraph, handleNode, handleReset, handleRole, handleStartDocument, handleStatement, handleSubRoleOf, handleTransactionEnd, handleTransactionStart, handleUser, handleUserInRole |
| Constructor Detail |
|---|
public NotificationListenerAdapter()
| Method Detail |
|---|
public void connectionStateChanged(int state)
INotificationListener
connectionStateChanged in interface INotificationListenerstate - current state of the connectionINotificationListener.CONNECTED,
INotificationListener.DISCONNECTED,
INotificationListener.CONNECTIONFAILEDpublic void noticiationException(AnzoException exception)
INotificationListener
noticiationException in interface INotificationListenerexception - which was thrown within the service
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||