Uses of Class
context.arch.storage.Attributes

Packages that use Attributes
context.arch   
context.arch.comm   
context.arch.discoverer   
context.arch.enactor   
context.arch.interpreter   
context.arch.server   
context.arch.service   
context.arch.service.helper   
context.arch.storage   
context.arch.subscriber   
context.arch.util   
context.arch.widget   
edu.berkeley.io.context.home   
edu.berkeley.io.context.museum   
 

Uses of Attributes in context.arch
 

Methods in context.arch with parameters of type Attributes
 DataObject BaseObject.pollWidget(java.lang.String widgetHost, int widgetPort, java.lang.String widgetId, Attributes attributes)
          This method allows a component to poll a remote widget for its attribute values.
 DataObject BaseObject.updateAndPollWidget(java.lang.String widgetHost, int widgetPort, java.lang.String widgetId, Attributes attributes)
          This method allows a component to force a remote widget to update its data and return it.
 DataObject BaseObject.putDataInWidget(java.lang.String widgetHost, int widgetPort, java.lang.String widgetId, java.lang.String callback, Attributes attributes)
          This method allows a component to put context data in a remote widget.
 DataObject BaseObject.askInterpreter(java.lang.String remoteHost, int remotePort, java.lang.String remoteId, Attributes data)
          This method asks an interpreter to interpret some data.
 DataObject BaseObject.runComponentMethod(java.lang.String remoteHost, int remotePort, java.lang.String remoteId, java.lang.String methodName, Attributes parameters, Attributes attributes)
          This method asks an component to run some non-standard method.
 DataObject BaseObject.executeAsynchronousWidgetService(AsyncServiceHandler handler, java.lang.String serviceHost, int servicePort, java.lang.String serviceId, java.lang.String service, java.lang.String function, Attributes input, java.lang.String requestTag)
          This method requests that a widget execute an asynchronous service
 DataObject BaseObject.executeSynchronousWidgetService(java.lang.String remoteHost, int remotePort, java.lang.String remoteId, java.lang.String service, java.lang.String function, Attributes input)
          This method requests that a widget execute a synchronous service
 

Uses of Attributes in context.arch.comm
 

Methods in context.arch.comm with parameters of type Attributes
 DataObject CommunicationsHandler.executeAsynchronousWidgetService(AsyncServiceHandler handler, java.lang.String serviceHost, int servicePort, java.lang.String serviceId, java.lang.String service, java.lang.String function, Attributes input, java.lang.String requestTag)
          This method requests that a widget execute an asynchronous service
 DataObject CommunicationsHandler.executeSynchronousWidgetService(java.lang.String remoteHost, int remotePort, java.lang.String remoteId, java.lang.String service, java.lang.String function, Attributes input)
          This method requests that a widget execute a synchronous service
 

Uses of Attributes in context.arch.discoverer
 

Methods in context.arch.discoverer that return Attributes
protected  Attributes Discoverer.initAttributes()
          Sets the attributes for the discoverer: they specify the information the discoverer is storing about the registered context components.
protected  Attributes Discoverer.initConstantAttributes()
          Sets the constant attributes for the discoverer
protected  Attributes Discoverer.queryGenerator()
          This abstract method is called when the discoverer wants to get the latest generator info.
 

Uses of Attributes in context.arch.enactor
 

Fields in context.arch.enactor declared as Attributes
protected  Attributes EnactorParameter.attsTemplate
           
 

Methods in context.arch.enactor that return Attributes
 Attributes EnactorParameter.getAttributesTemplate()
          returns the base attribute template for this parameter.
 Attributes EnactorParameter.getAttributesAt(int i)
           
 

Methods in context.arch.enactor with parameters of type Attributes
 DataObject EnactorSubscriptionManager.executeWidgetService(java.lang.String subscriptionId, java.lang.String serviceName, java.lang.String functionName, Attributes input)
           
 void EnactorParameter.setValue(Attributes atts, java.lang.Object value)
          set a value for the parameter with the given attributes.
 void EnactorListener.componentAdded(EnactorReference rwr, ComponentDescription widgetDescription, Attributes paramAtts)
          called when a new CTK component matches an enactor reference.
 void EnactorListener.componentRemoved(EnactorReference rwr, ComponentDescription widgetDescription, Attributes paramAtts)
          called when a CTK component no longer matches an enactor reference.
 void EnactorListener.parameterValueChanged(EnactorParameter parameter, Attributes validAtts, java.lang.Object value)
          called when the value of an enactor parameter changes.
protected  void Enactor.fireComponentAdded(EnactorReference rwr, java.lang.String widgetSubId, ComponentDescription cd, Attributes paramAtts)
           
protected  void Enactor.fireComponentRemoved(EnactorReference rwr, java.lang.String widgetSubId, ComponentDescription cd, Attributes paramAtts)
           
protected  void Enactor.fireParameterValueChanged(EnactorParameter parameter, Attributes paramAtts, java.lang.Object value)
           
protected  void Enactor.fireComponentAdded(EnactorListener listener, EnactorReference rwr, java.lang.String widgetSubId, ComponentDescription cd, Attributes paramAtts)
           
protected  void Enactor.fireComponentRemoved(EnactorListener listener, EnactorReference rwr, java.lang.String widgetSubId, ComponentDescription cd, Attributes paramAtts)
           
protected  void Enactor.fireParameterValueChanged(EnactorListener listener, EnactorParameter parameter, Attributes paramAtts, java.lang.Object value)
           
 

Constructors in context.arch.enactor with parameters of type Attributes
EnactorParameter(java.lang.String nm, Attributes template)
          constructs a parameter with a name and a base set of attributes.
 

Uses of Attributes in context.arch.interpreter
 

Fields in context.arch.interpreter declared as Attributes
protected  Attributes Interpreter.inAttributes
           
protected  Attributes Interpreter.outAttributes
           
 

Methods in context.arch.interpreter that return Attributes
protected abstract  Attributes Interpreter.interpretData(Attributes data)
          This abstract method interprets the given data and returns it.
protected abstract  Attributes Interpreter.setInAttributes()
          Sets the incoming attributes for the interpreter
protected abstract  Attributes Interpreter.setOutAttributes()
          Sets the outgoing attributes for the interpreter
 

Methods in context.arch.interpreter with parameters of type Attributes
protected abstract  Attributes Interpreter.interpretData(Attributes data)
          This abstract method interprets the given data and returns it.
 

Uses of Attributes in context.arch.server
 

Methods in context.arch.server that return Attributes
protected  Attributes Server.initAttributes()
          This method is called to aggregate the list of non cosntant attributes that the widgets relevant to this server provide.
protected  Attributes Server.initConstantAttributes()
          This method is called to aggregate the list of constant attributes that the widgets relevant to this server provide.
protected abstract  Attributes Server.setServerAttributes()
          This abstract method set the non constant attributes for a server - those that are specific to the server, and not contained in the widgets it subscribes to.
protected abstract  Attributes Server.setServerConstantAttributes()
          This abstract method set the constant attributes for a server - those that are specific to the server, and not contained in the widgets it subscribes to.
 

Methods in context.arch.server with parameters of type Attributes
 void Server.storeAttributeNameValues(Attributes atts)
          This method stores the attribute name values, both in persistent storage and in local storage.
 

Uses of Attributes in context.arch.service
 

Methods in context.arch.service with parameters of type Attributes
protected  DataObject Service.sendServiceResult(ServiceInput input, Attributes atts)
          This method is called to send a the results of an asynchronous service execution to a requesting component.
 

Uses of Attributes in context.arch.service.helper
 

Methods in context.arch.service.helper that return Attributes
 Attributes ServiceInput.getInput()
          Returns the input to the service.
 Attributes FunctionDescription.getAttributes()
          Returns the attributes of the service function
 

Methods in context.arch.service.helper with parameters of type Attributes
 void ServiceInput.setInput(Attributes input)
          Sets the input to the service.
 void FunctionDescriptions.addFunctionDescription(java.lang.String name, java.lang.String description, Attributes atts, java.lang.String timing)
          Adds the given function name, description and timing to the container.
 int FunctionDescriptions.indexOfFunctionDescription(java.lang.String name, java.lang.String description, Attributes atts, java.lang.String timing)
          Returns the index at which the given function name and description occurs
 void FunctionDescription.setAttributes(Attributes atts)
          Sets the attributes for this service function
 

Constructors in context.arch.service.helper with parameters of type Attributes
ServiceInput(java.lang.String service, java.lang.String function, Attributes input)
          Basic constructor that creates a serviceInput object for a synchronous services.
ServiceInput(java.lang.String serviceId, java.lang.String service, java.lang.String function, Attributes input, java.lang.String host, int port, java.lang.String id, java.lang.String requestTag)
          Basic constructor that creates a serviceInput object for an asynchronous services.
ServiceInput(java.lang.String serviceId, java.lang.String service, java.lang.String function, Attributes input, java.lang.String host, java.lang.String port, java.lang.String id, java.lang.String requestTag)
          Basic constructor that creates a serviceInput object for an asynchronous services.
FunctionDescription(java.lang.String name, java.lang.String description, Attributes attributes, java.lang.String timing)
          Basic constructor that creates a function description object.
 

Uses of Attributes in context.arch.storage
 

Fields in context.arch.storage declared as Attributes
protected  Attributes Attribute.attributes
           
 

Methods in context.arch.storage that return Attributes
 Attributes StorageObject.retrieveLastAttributes()
          Returns the last AttributeNameValues object stored
 Attributes RetrievalResults.getAttributesAt(int index)
          This method retrieves the AttributeNameValues object at the given index.
 Attributes Attributes.getSubset(Attributes filterAtts)
          This method takes an Attributes containing the list of attributes (names) wanted and it filters all the rest out from this Attributes object.
protected  Attributes Attributes.create()
           
 Attributes Attribute.getSubAttributes()
          Returns the subAttributes of the stored attribute
 

Methods in context.arch.storage with parameters of type Attributes
 void VectorStorage.store(Attributes atts)
          This method stores the given AttributeNameValues object
 void VectorStorage.setAttributes(Attributes attributes, java.util.Hashtable attTypes)
          This method sets the attributes to use for storage.
 void StorageObject.store(Attributes atts)
          This method stores the given AttributeNameValues object and checks whether the locally stored data should be flushed to persistent storage.
 void StorageObject.setAttributes(Attributes attributes, java.util.Hashtable attributeTypes)
          This method sets the attributes to use for storage.
 void Storage.store(Attributes atts)
          Abstract method that stores the attributes in the AttributeNameValues object
 void Storage.setAttributes(Attributes attributes, java.util.Hashtable types)
          Abstract method that sets the attributes to use for storage
 void RetrievalResults.addAttributes(Attributes anvs)
          This method adds an AttributeNameValues object to this container
 void Attributes.addAttribute(java.lang.String name, Attributes attributes)
          Adds the given attribute name and value to the container.
 void Attributes.addAttribute(java.lang.String name, Attributes attributes, java.lang.String type)
          Adds the given attribute name, subAttributes and type to the container
 void Attributes.addAttributes(Attributes atts)
          Adds the given Attributes object to the container.
 boolean Attributes.hasAttribute(java.lang.String name, Attributes attributes)
          Determines whether the given attribute name and subAttributes are in the container, using the default datatype.
 boolean Attributes.hasAttribute(java.lang.String name, Attributes attributes, java.lang.String type)
          Determines whether the given attribute name, subAttributes and type are in the container,
 int Attributes.indexOfAttribute(java.lang.String name, Attributes attributes)
          Returns the index at which the given attribute name and subAttributes occurs, using the default datatype
 int Attributes.indexOfAttribute(java.lang.String name, Attributes attributes, java.lang.String type)
          Returns the index at which the given attribute name, subAttributes and type occurs.
 Attributes Attributes.getSubset(Attributes filterAtts)
          This method takes an Attributes containing the list of attributes (names) wanted and it filters all the rest out from this Attributes object.
 boolean Attributes.equals(Attributes attributes)
          Return true if both Attributes objects are equal
 void Attribute.setSubAttributes(Attributes attributes)
          Sets the subAttributes of this attribute
 

Constructors in context.arch.storage with parameters of type Attributes
Attribute(java.lang.String name, Attributes attributes, java.lang.String type)
          Constructor that takes a name, value, and type
 

Uses of Attributes in context.arch.subscriber
 

Methods in context.arch.subscriber that return Attributes
 Attributes Subscriber.getAttributes()
          Returns the subscription attributes to be returned
 Attributes ClientSideSubscriber.getAttributes()
          Returns the subscription attributes to be returned
 Attributes Callback.getAttributes()
          Returns the attributes for the callback
 

Methods in context.arch.subscriber with parameters of type Attributes
 void Subscriber.setAttributes(Attributes attributes)
          Sets the attributes to return to the subscriber
 void ClientSideSubscriber.setAttributes(Attributes attributes)
          Sets the attributes to return to the subscriber
 void Callbacks.addCallback(java.lang.String name, Attributes attributes)
          Adds the given callback name and attributes to the container.
 boolean Callbacks.hasCallback(java.lang.String name, Attributes attributes)
          Determines whether the given callback name and attributes are in the container.
 int Callbacks.indexOfCallback(java.lang.String name, Attributes attributes)
          Returns the index at which the given callback name and attributes occurs
 void Callback.setAttributes(Attributes atts)
          Sets the attributes for the callback
 

Constructors in context.arch.subscriber with parameters of type Attributes
Subscriber(java.lang.String subBaseObjectId, java.lang.String subHostname, int subPort, java.lang.String subCallback, AbstractQueryItem condition, Attributes attributes)
          Basic constructor that creates a subscriber object.
Subscriber(java.lang.String subBaseObjectId, java.lang.String subHostname, java.lang.String subPort, java.lang.String subCallback, AbstractQueryItem condition, Attributes attributes)
          Basic constructor that creates a subscriber object.
ClientSideSubscriber(java.lang.String baseObjectId, java.lang.String subHostname, int subPort, java.lang.String subCallback, AbstractQueryItem condition, Attributes attributes)
          Creates new ClientSideSubscriber
ClientSideSubscriber(java.lang.String baseObjectId, java.lang.String subHostname, java.lang.String subPort, java.lang.String subCallback, AbstractQueryItem condition, Attributes attributes)
          Basic constructor that creates a subscriber object.
Callback(java.lang.String name, Attributes atts)
          Constructor that takes a name and attributes object
 

Uses of Attributes in context.arch.util
 

Methods in context.arch.util that return Attributes
 Attributes Configuration.getParameters()
          Returns the parameters for this configuration
 

Methods in context.arch.util with parameters of type Attributes
 void Configuration.setParameters(Attributes parameters)
          Sets the parameters for this configuration
 

Uses of Attributes in context.arch.widget
 

Fields in context.arch.widget declared as Attributes
protected  Attributes Widget.attributes
           
protected  Attributes Widget.constantAttributes
           
 

Methods in context.arch.widget that return Attributes
 Attributes WidgetHandle.getAttributes()
          Return the Attributes of the subscription
protected abstract  Attributes Widget.initAttributes()
          Sets the attributes for the widget
protected abstract  Attributes Widget.initConstantAttributes()
          Sets the constant attributes for the widget
protected abstract  Attributes Widget.queryGenerator()
          This abstract method is called when the widget wants to get the latest generator info.
 

Methods in context.arch.widget with parameters of type Attributes
 void WidgetHandle.setAttributes(Attributes atts)
          Sets the Attributes for the widget subscription
protected  void Widget.setAttributes(Attributes atts)
           
protected  void Widget.setConstantAttributes(Attributes atts)
           
protected  boolean Widget.canHandle(Attributes atts)
          This method checks the list of attributes to ensure that the widget contains these attributes.
 void Widget.setNonConstantAttributes(Attributes anv)
          sets the current state of some set of NonConstantAttributes in the widget.
protected  void Widget.store(Attributes data)
          This stub method stores the data in the given AttributeNameValues object
 

Uses of Attributes in edu.berkeley.io.context.home
 

Methods in edu.berkeley.io.context.home that return Attributes
protected  Attributes ObjectPresenceWidget.initAttributes()
           
protected  Attributes ObjectPresenceWidget.initConstantAttributes()
           
protected  Attributes ObjectPresenceWidget.queryGenerator()
           
protected  Attributes LightWidget.initAttributes()
           
protected  Attributes LightWidget.initConstantAttributes()
           
protected  Attributes LightWidget.queryGenerator()
          This method returns an empty AttributeNameValues object.
 

Methods in edu.berkeley.io.context.home with parameters of type Attributes
protected  void TemperatureEnactor.fireParameterValueChanged(EnactorListener listener, EnactorParameter parameter, Attributes paramAtts, java.lang.Object value)
          Override to be notified when parameters change, particularly temperatureTarget.
protected  void TemperatureEnactor.fireComponentAdded(EnactorListener listener, EnactorReference rwr, java.lang.String widgetSubId, ComponentDescription cd, Attributes paramAtts)
           
protected  void LightEnactor.fireParameterValueChanged(EnactorListener listener, EnactorParameter parameter, Attributes paramAtts, java.lang.Object value)
           
protected  void LightEnactor.fireComponentAdded(EnactorListener listener, EnactorReference rwr, java.lang.String widgetSubId, ComponentDescription cd, Attributes paramAtts)
           
 

Uses of Attributes in edu.berkeley.io.context.museum
 

Methods in edu.berkeley.io.context.museum that return Attributes
protected  Attributes VisitorDisplayWidget.initAttributes()
           
protected  Attributes VisitorDisplayWidget.initConstantAttributes()
           
protected  Attributes VisitorDisplayWidget.queryGenerator()
           
protected  Attributes InstallationWidget.initAttributes()
           
protected  Attributes InstallationWidget.initConstantAttributes()
           
protected  Attributes InstallationWidget.queryGenerator()
           
 

Methods in edu.berkeley.io.context.museum with parameters of type Attributes
protected  void InstallationEnactor.fireParameterValueChanged(EnactorListener listener, EnactorParameter parameter, Attributes paramAtts, java.lang.Object value)
           
protected  void InstallationEnactor.fireComponentAdded(EnactorListener listener, EnactorReference rwr, java.lang.String widgetSubId, ComponentDescription cd, Attributes paramAtts)