palio.services.designer
Class PalioFeaturesServiceAgent

java.lang.Object
  extended by palio.services.designer.PalioFeaturesServiceAgent
All Implemented Interfaces:
jpalio.features.FeaturesListener, torn.omea.net.ServiceAgent

public class PalioFeaturesServiceAgent
extends java.lang.Object
implements torn.omea.net.ServiceAgent, jpalio.features.FeaturesListener

Service agent for transferring feature definitions.

Author:
Szymon Kuklewicz

Constructor Summary
PalioFeaturesServiceAgent(Instance instance, torn.omea.net.Server server, java.lang.String service)
           
 
Method Summary
 void addNotificationListener(torn.omea.net.User user)
           
 void allChanged()
           
 void featureAdded(jpalio.features.FeatureDescription newFeature)
           
 void featureChanged(jpalio.features.FeatureDescription oldFeature, jpalio.features.FeatureDescription newFeature)
           
 void featureRemoved(jpalio.features.FeatureDescription oldFeature)
           
 void handleCall(java.lang.Object request, torn.omea.net.Call call)
           
 void removeNotificationListener(torn.omea.net.User user)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PalioFeaturesServiceAgent

public PalioFeaturesServiceAgent(Instance instance,
                                 torn.omea.net.Server server,
                                 java.lang.String service)
Method Detail

removeNotificationListener

public void removeNotificationListener(torn.omea.net.User user)
Specified by:
removeNotificationListener in interface torn.omea.net.ServiceAgent

addNotificationListener

public void addNotificationListener(torn.omea.net.User user)
Specified by:
addNotificationListener in interface torn.omea.net.ServiceAgent

allChanged

public void allChanged()
Specified by:
allChanged in interface jpalio.features.FeaturesListener

featureAdded

public void featureAdded(jpalio.features.FeatureDescription newFeature)
Specified by:
featureAdded in interface jpalio.features.FeaturesListener

featureRemoved

public void featureRemoved(jpalio.features.FeatureDescription oldFeature)
Specified by:
featureRemoved in interface jpalio.features.FeaturesListener

featureChanged

public void featureChanged(jpalio.features.FeatureDescription oldFeature,
                           jpalio.features.FeatureDescription newFeature)
Specified by:
featureChanged in interface jpalio.features.FeaturesListener

handleCall

public void handleCall(java.lang.Object request,
                       torn.omea.net.Call call)
                throws torn.omea.framework.errors.OmeaException
Specified by:
handleCall in interface torn.omea.net.ServiceAgent
Throws:
torn.omea.framework.errors.OmeaException