cgl.notifier
Class ContextListener

java.lang.Object
  extended bycgl.notifier.ContextListener
All Implemented Interfaces:
cgl.narada.service.client.NBEventListener

public class ContextListener
extends java.lang.Object
implements cgl.narada.service.client.NBEventListener

Author:
Mehmet S. Aktas (maktas@indiana.edu)

Field Summary
(package private)  cgl.narada.matching.Profile profile
           
 
Constructor Summary
ContextListener()
           
 
Method Summary
protected  java.lang.Object deserializeObject(byte[] bytes)
           
 void initBroker()
           
static void main(java.lang.String[] args)
           
 void onEvent(cgl.narada.event.NBEvent nbEvent)
           
 void printContext(Context context)
           
 void printContextDetail(ContextDetail detail)
           
protected  byte[] serializeObject(java.lang.Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

profile

cgl.narada.matching.Profile profile
Constructor Detail

ContextListener

public ContextListener()
Method Detail

initBroker

public void initBroker()

onEvent

public void onEvent(cgl.narada.event.NBEvent nbEvent)
Specified by:
onEvent in interface cgl.narada.service.client.NBEventListener

printContext

public void printContext(Context context)

printContextDetail

public void printContextDetail(ContextDetail detail)

deserializeObject

protected java.lang.Object deserializeObject(byte[] bytes)

serializeObject

protected byte[] serializeObject(java.lang.Object object)

main

public static void main(java.lang.String[] args)