dermi.session
Interface DermiApplicationListener

All Superinterfaces:
Client
All Known Implementing Classes:
NotificationParser

public interface DermiApplicationListener
extends Client

Interface to be implemented by applications that must be notified

Version:
1.2
Author:
Carles Pairot

Method Summary
 DermiContent interceptAnycast(Topic tpc, DermiContent cnt)
          Method required for manycalls, in case the contents of the message must be changed on-the-fly
 void receiveInterceptorMessage(java.util.Hashtable msg, java.util.ArrayList interceptors)
          Upcall when an interceptor message is received
 void setConnection(DermiConnection conn)
          Sets the specified connection to this application
 

Method Detail

setConnection

void setConnection(DermiConnection conn)
Sets the specified connection to this application

Parameters:
conn - Connection

receiveInterceptorMessage

void receiveInterceptorMessage(java.util.Hashtable msg,
                               java.util.ArrayList interceptors)
Upcall when an interceptor message is received


interceptAnycast

DermiContent interceptAnycast(Topic tpc,
                              DermiContent cnt)
Method required for manycalls, in case the contents of the message must be changed on-the-fly

Parameters:
tpc - Topic Group's topic
cnt - ScribeContent Original content
Returns:
ScribeContent Modified content