Tag used in DISCOVERER_REGISTRATION to contain the constant attributes of
the component
Tag also used in DISCOVERER_QUERY
This tag is also used in QueryElement to query the discoverer.
This class allows to get an IndependentCommunication object, to send the
contained RequestObject via the BaseObject, to get the reply or the exceptions,
and to send back all that information to the caller BaseObject thru
the BaseObject handleIndependentReply method.
This interface specifies all the methods a CommunicationsClient object must support
allowing the details of the specific protocol used to be abstracted away.
This interface specifies all the methods a CommunicationsMulticast object must support
allowing the details of the specific protocol used to be abstracted away.
This interface specifies all the methods a CommunicationsServer object must support
allowing the details of the specific protocol used to be abstracted away.
This class allows to store a component's description
Has changed Vectors into ArrayList
all server and widget att merged
all callback / service of widget and server merged
This class implements a context user object, encapsulating a user's
description (usually a name), their full name, email address,
organization, and iButton id.
This method is handling the subscription of a context component
that wants to subscribe to be notified of the registration of
context components of its interest.
Constructor that sets up internal variables for maintaining
the list of discoverer attributes, callbacks, and services and setting up
the BaseObject info.
Constructor that sets up internal variables for maintaining
the list of discoverer attributes, callbacks, and services and setting up
the BaseObject info.
This class is used by a context component to handle a communication with
the discoverer while continuing a communication with another context component.
An XML server that tunnels all enactor events through sockets to clients, using XML
to translate DataObjects to a language-independent serialized format.
This abstract method generates an error message if a request can't
be handled properly, to the point where a contextual error message
can still be sent as the reply
This abstract method generates an error message if a request can't
be handled properly, to the point where a contextual error message
can still be sent as the reply
This method generates an error message if a request can't
be handled properly, to the point where a contextual error message
can still be sent as the reply.
This method generates an error message if a request can't
be handled properly, to the point where a contextual error message
can still be sent as the reply.
This abstract method generates an fatal message if a request can't
be handled properly, to the point where no contextual error message
can be sent as the reply
This abstract method generates an fatal message if a request can't
be handled properly, to the point where no contextual error message
can be sent as the reply
This method generates an fatal message if a request can't
be handled properly, to the point where no contextual error message
can be sent as the reply.
This method generates an fatal message if a request can't
be handled properly, to the point where no contextual error message
can be sent as the reply.
This method builds the widget description which contains the constant and
non constant attributes, the callbacks, the services, the subscribers
This method overloads the BaseObject's getUserDescription method
This class is used to watch for all context components leases
each xx time, as defined by Lease.TIME_SLOT_MILLIS, and then send
to the LeasesKeeper object an
Enumeration of all component index whose lease expires.
This interface specifies all the methods for encoding outgoing messages
and decoding incoming messages, as well as the method that handles
decoded incoming messages.
This class is responsible for retrieving and updating the offset between
the local clock the component is running on and a "more accurate" global
time clock
This method allows to process an 2D array that contains in the first
column the index of the component stored in the data model, and in
the second column a integer value : 0 or 1 for false or true.
This method runs a query on a widget, asking for either it's latest
acquired data (QUERY) or asking for the widget to acquire and return
new data (UPDATE_AND_QUERY).
This method runs a query on a widget, asking for either it's latest
acquired data (QUERY) or asking for the widget to acquire and return
new data (UPDATE_AND_QUERY)
This is the generic object that encapsulates the data and information for sending a request
to another CTK object : the data object and the url of the request, the
destination server hostname and port.
Gets an AbstractQueryObject and returns a array with for each index
of registered components a value yes/no to indicate if this component
fits the query or not
TO DO : complete the search to remove the widget included in server: USEFUL??
read() -
Static method in class context.arch.util.FileRead
This method reads in the file and returns the result in a string.
Abstract method that returns a vector containing AttributeNameValue objects that
match the given retrieval conditions, and that are allowed to be given to the object
with the given accessorId
This method returns a vector containing AttributeNameValues objects that matches
the given conditions in the Retrieval object, and that the given requestorId
is allowed to have access to
This interface specifies all the methods a Storage object must support
allowing the details of the specific storage techniques used to be abstracted away.
This method creates a communications client with the given hostname and port
and sends the given request using the newly created CommunicationsClient object
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.
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.
This is a temperature rule object that monitors all temperature available
temperature widgets and services, and controls the heating and cooling of
a temperature service until is within some distance from a target.
This method allows to get the modified descriptions fields and update the component
Fields that can be modified : the non constant attributes (widget, server) and the subscribers,
It gets a NON_CONSTANT_ATTRIBUTE_NAME_VALUES
The default update type is the add type (Discoverer.UPDATE_ADD_TYPE)
This method allows to get the modified descriptions fields and update the component
Fields that can be modified : the non constant attributes (widget, server) and the subscribers,
It gets a NON_CONSTANT_ATTRIBUTE_NAME_VALUES