|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of DataObject in context.arch |
Methods in context.arch that return DataObject | |
DataObject |
BaseObject.decodeData(java.io.Reader communicationData)
Stub method that decodes the given string using ParserObject |
DataObject |
BaseObject.userRequest(DataObject data,
java.lang.String requestType)
Deprecated. |
DataObject |
BaseObject.userRequest(RequestObject request)
Sends a message to a remote component |
DataObject |
BaseObject.userRequest(DataObject data,
java.lang.String requestType,
java.lang.String remoteHostname)
Deprecated. |
DataObject |
BaseObject.userRequest(DataObject data,
java.lang.String requestType,
java.lang.String remoteHostname,
int remotePort)
Method that submits a user request for polling/subscription. |
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.getVersion(java.lang.String remoteHost,
int remotePort,
java.lang.String remoteId)
This method gets the version of the given component (remoteHostname, widget, interpreter). |
DataObject |
BaseObject.getWidgetCallbacks(java.lang.String widgetHost,
int widgetPort,
java.lang.String widgetId)
This method gets the callbacks of the given widget |
DataObject |
BaseObject.getWidgetServices(java.lang.String widgetHost,
int widgetPort,
java.lang.String widgetId)
This method gets the services of the given widget |
DataObject |
BaseObject.getWidgetAttributes(java.lang.String widgetHost,
int widgetPort,
java.lang.String widgetId)
This method gets the attributes of the given widget |
DataObject |
BaseObject.getWidgetConstantAttributes(java.lang.String widgetHost,
int widgetPort,
java.lang.String widgetId)
This method gets the attributes of the given widget |
DataObject |
BaseObject.retrieveDataFrom(java.lang.String remoteHost,
int remotePort,
java.lang.String remoteId,
Retrieval retrieval)
This method allows a component to retrieve data from other components. |
DataObject |
BaseObject.retrieveDataFrom(java.lang.String remoteHost,
int remotePort,
java.lang.String remoteId,
java.lang.String myId,
Retrieval retrieval)
This method allows a component to retrieve data from other components. |
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 |
DataObject |
BaseObject.pingComponent(java.lang.String remoteHost,
int remotePort,
java.lang.String remoteId,
boolean independentCom)
This method pings a component (widget,remoteHostname, or interpreter) to make sure that it is functioning ok. |
DataObject |
BaseObject.runUserMethod(DataObject data)
This is an empty method that should be overridden by the object that extends this class. |
DataObject |
BaseObject.runMethod(java.lang.String methodType,
DataObject data)
This method handles both the system-defined, callbacks and user-defined RPCs. |
DataObject |
BaseObject.userCallback(DataObject data)
This method is called when a callback message is received. |
DataObject |
BaseObject.queryVersion(DataObject query)
This method returns the version number of this component. |
DataObject |
BaseObject.returnPing(DataObject ping)
This method returns an error message as an answer to a ping. |
DataObject |
BaseObject.serviceResult(DataObject result)
This method handles the results of an asynchronous service request. |
DataObject |
BaseObject.setDiscoverer(DataObject data)
This method handles the lookup response from the discoverer. |
DataObject |
BaseObject.getDescription()
Returns the common description of the component. |
DataObject |
BaseObject.getUserDescription()
Returns the added description of the component That method should be overriden. |
protected DataObject |
BaseObject.discovererSendSubscription(Handler handler,
DiscovererSubscriber discoSub)
to improve |
protected DataObject |
BaseObject.discovererQuery(DataObject data)
This method allows to send a query to the discoverer containing the description of the context component the object would like to know. |
DataObject |
BaseObject.discovererSubscriptionNotification(DataObject data)
|
protected DataObject |
BaseObject.leaseEndNotified(DataObject data)
This method sends a lease end confirmation if necessary. |
Methods in context.arch with parameters of type DataObject | |
java.lang.String |
BaseObject.encodeData(DataObject communicationData)
Stub method that encodes the given string using ParserObject |
DataObject |
BaseObject.userRequest(DataObject data,
java.lang.String requestType)
Deprecated. |
DataObject |
BaseObject.userRequest(DataObject data,
java.lang.String requestType,
java.lang.String remoteHostname)
Deprecated. |
DataObject |
BaseObject.userRequest(DataObject data,
java.lang.String requestType,
java.lang.String remoteHostname,
int remotePort)
Method that submits a user request for polling/subscription. |
DataObject |
BaseObject.runUserMethod(DataObject data)
This is an empty method that should be overridden by the object that extends this class. |
DataObject |
BaseObject.runMethod(java.lang.String methodType,
DataObject data)
This method handles both the system-defined, callbacks and user-defined RPCs. |
DataObject |
BaseObject.userCallback(DataObject data)
This method is called when a callback message is received. |
DataObject |
BaseObject.queryVersion(DataObject query)
This method returns the version number of this component. |
DataObject |
BaseObject.returnPing(DataObject ping)
This method returns an error message as an answer to a ping. |
DataObject |
BaseObject.serviceResult(DataObject result)
This method handles the results of an asynchronous service request. |
DataObject |
BaseObject.setDiscoverer(DataObject data)
This method handles the lookup response from the discoverer. |
protected DataObject |
BaseObject.discovererQuery(DataObject data)
This method allows to send a query to the discoverer containing the description of the context component the object would like to know. |
DataObject |
BaseObject.discovererSubscriptionNotification(DataObject data)
|
protected DataObject |
BaseObject.leaseEndNotified(DataObject data)
This method sends a lease end confirmation if necessary. |
Uses of DataObject in context.arch.comm |
Methods in context.arch.comm that return DataObject | |
DataObject |
RequestObject.getNonEncodedData()
Returns the message data object |
DataObject |
DataObject.getChild(java.lang.String name)
|
DataObject |
DataObject.getDataObject(java.lang.String string)
Returns the DataObject element/sub-element with the specified name |
DataObject |
DataObject.getNthDataObject(java.lang.String string,
int n)
Returns the Nth DataObject element/sub-element with the specified name NB: we assume the current DataObject has 1 level of children. |
DataObject |
CommunicationsServer.getErrorMessage()
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 |
DataObject |
CommunicationsObject.decodeData(java.io.Reader message)
This stub method calls the decodeData method in MessageHandler. |
DataObject |
CommunicationsObject.runMethod(java.lang.String line,
DataObject data)
This stub method runs the specified request using the MessageHandler |
DataObject |
CommunicationsHandler.userRequest(RequestObject request)
Method that allows a component to communicate with another component. |
DataObject |
CommunicationsHandler.userRequest(DataObject data,
java.lang.String url)
Deprecated. |
DataObject |
CommunicationsHandler.userRequest(DataObject data,
java.lang.String url,
java.lang.String server)
Method that allows a component to communicate with another component. |
DataObject |
CommunicationsHandler.userRequest(DataObject data,
java.lang.String url,
java.lang.String server,
int port)
Method that allows a component to communicate with another component. |
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 |
DataObject |
CommunicationsClient.getErrorMessage()
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 |
Methods in context.arch.comm with parameters of type DataObject | |
java.lang.String |
CommunicationsObject.encodeData(DataObject message)
This stub method calls the encodeData method in MessageHandler. |
DataObject |
CommunicationsObject.runMethod(java.lang.String line,
DataObject data)
This stub method runs the specified request using the MessageHandler |
DataObject |
CommunicationsHandler.userRequest(DataObject data,
java.lang.String url)
Deprecated. |
DataObject |
CommunicationsHandler.userRequest(DataObject data,
java.lang.String url,
java.lang.String server)
Method that allows a component to communicate with another component. |
DataObject |
CommunicationsHandler.userRequest(DataObject data,
java.lang.String url,
java.lang.String server,
int port)
Method that allows a component to communicate with another component. |
Constructors in context.arch.comm with parameters of type DataObject | |
RequestObject(DataObject dataObject,
java.lang.String messageUrl)
Creates new RequestObject with the dataobject to send and the message url. |
|
RequestObject(DataObject dataObject,
java.lang.String messageUrl,
java.lang.String serverHostname)
Creates new RequestObject with the dataobject to send, the message url and the destination server hostname |
|
RequestObject(DataObject dataObject,
java.lang.String messageUrl,
java.lang.String serverHostname,
int serverPort)
Creates new RequestObject with the dataobject to send, the message url, the destination server hostname and the destination server port. |
|
RequestObject(DataObject dataObject,
java.lang.String messageUrl,
java.lang.String serverHostname,
int serverPort,
java.lang.String serverId)
Creates new RequestObject with the dataobject to send, the message url, the destination server hostname and the destination server port. |
|
RequestObject(DataObject dataObject,
java.lang.String messageUrl,
java.lang.String serverHostname,
int serverPort,
java.lang.String serverId,
java.lang.String type)
Creates new RequestObject with the dataobject to send, the message url, the destination server hostname and the destination server port. |
Uses of DataObject in context.arch.comm.clients |
Fields in context.arch.comm.clients declared as DataObject | |
protected DataObject |
DiscovererClient.data
The data to send |
Methods in context.arch.comm.clients that return DataObject | |
DataObject |
IndependentCommunication.getDecodedReply()
Returns the DataObject reply |
Methods in context.arch.comm.clients with parameters of type DataObject | |
void |
IndependentCommunication.setDecodedReply(DataObject reply)
Sets the reply |
Constructors in context.arch.comm.clients with parameters of type DataObject | |
IndependentCommunication(RequestObject request,
DataObject reply,
java.util.Vector exceptions,
boolean responseRequired)
The generic IndependentCommunication constructor, that takes the request, reply, exceptions given. |
|
DiscovererClient(BaseObject baseObject,
java.lang.String methodToUse,
DataObject dataToSend,
java.lang.String conditionParameter)
The generic DiscovererClient constructor |
|
DiscovererClient(BaseObject baseObject,
java.lang.String method,
DataObject data)
The DiscovererClient constructor |
Uses of DataObject in context.arch.comm.language |
Methods in context.arch.comm.language that return DataObject | |
DataObject |
SAX_XMLDecoder.decodeData(java.io.Reader XMLdata)
This method decodes the given XML data and returns the result in a DataObject. |
DataObject |
ParserObject.decodeData(java.io.Reader message)
This method tries to create a DecoderInterface object and decode the given message in the Reader. |
DataObject |
ParserObject.decodeData(java.lang.String className,
java.io.Reader message)
This method tries to create a DecoderInterface object using the given class name and decode the given message in the Reader. |
DataObject |
MessageHandler.decodeData(java.io.Reader message)
Method to decode the incoming data |
DataObject |
MessageHandler.runMethod(java.lang.String methodType,
DataObject data)
This method handles both the system-defined, callbacks and user-defined RPCs. |
DataObject |
DecoderInterface.decodeData(java.io.Reader message)
Method to decode the incoming data |
Methods in context.arch.comm.language with parameters of type DataObject | |
java.lang.String |
XMLEncoder.encodeData(DataObject data)
Method used to encode data |
void |
XMLEncoder.addElement(DataObject elt)
Method to add XML element |
java.lang.String |
ParserObject.encodeData(DataObject message)
This method tries to create a EncoderInterface object and encode the given message in the DataObject. |
java.lang.String |
ParserObject.encodeData(java.lang.String className,
DataObject message)
This method tries to create a EncoderInterface object using the given class and encode the given message in the DataObject. |
java.lang.String |
MessageHandler.encodeData(DataObject data)
Method to encode the incoming data |
DataObject |
MessageHandler.runMethod(java.lang.String methodType,
DataObject data)
This method handles both the system-defined, callbacks and user-defined RPCs. |
java.lang.String |
EncoderInterface.encodeData(DataObject data)
Method to encode the incoming data |
Uses of DataObject in context.arch.comm.protocol |
Methods in context.arch.comm.protocol that return DataObject | |
DataObject |
HTTPServerSocket.getErrorMessage()
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. |
DataObject |
HTTPClientSocket.getErrorMessage()
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. |
Uses of DataObject in context.arch.discoverer |
Methods in context.arch.discoverer that return DataObject | |
DataObject |
DiscovererMediator.search(AbstractQueryItem query)
Take a query and returns the corresponding components |
protected DataObject |
Discoverer.runWidgetMethod(DataObject dataObject,
java.lang.String error)
This method is meant to handle any internal methods that the baseObject doesn't handle. |
protected DataObject |
Discoverer.runDiscovererMethod(DataObject dataObject,
java.lang.String error)
This method should be overriden by inheriting classes to handle other messages. |
DataObject |
Discoverer.getDiscovererDescription(DataObject data)
?? TO DO : add errors control This method returns the DataObject replying to the LOOKUP_DISCOVERER message from a component. |
protected DataObject |
Discoverer.componentRegistration(DataObject data)
This method handles a DISCOVERER_REGISTRATION message. |
protected DataObject |
Discoverer.componentUnregistration(DataObject dataObject)
This method is used to unregister a context component from the discoverer. |
DataObject |
Discoverer.componentUpdate(DataObject dataObject)
This method handles the UPDATE_DISCOVERER messages. |
DataObject |
Discoverer.componentSubscription(DataObject dataObject)
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. |
DataObject |
Discoverer.handleQuery(DataObject data)
Handles a DISCOVERER_QUUERY message from components and returns a DataObject containing the identification of the response and the first response. |
DataObject |
ComponentDescription.toDataObject()
|
DataObject |
ComponentDescription.getBasicDataObject()
This method allows to return a DataObject containing : - the component id - the component hostname - the component port |
Methods in context.arch.discoverer with parameters of type DataObject | |
Error |
DiscovererDescription.setName(DataObject data)
Set the discoverer name contained in a DataObject |
Error |
DiscovererDescription.setHostname(DataObject data)
Set the discoverer hostname contained in a DataObject |
Error |
DiscovererDescription.setPort(DataObject data)
Set the discoverer port contained in a DataObject |
Error |
DiscovererDescription.setDescription(DataObject data)
Sets the discoverer description contained in a DataObject |
protected DataObject |
Discoverer.runWidgetMethod(DataObject dataObject,
java.lang.String error)
This method is meant to handle any internal methods that the baseObject doesn't handle. |
protected DataObject |
Discoverer.runDiscovererMethod(DataObject dataObject,
java.lang.String error)
This method should be overriden by inheriting classes to handle other messages. |
DataObject |
Discoverer.getDiscovererDescription(DataObject data)
?? TO DO : add errors control This method returns the DataObject replying to the LOOKUP_DISCOVERER message from a component. |
protected DataObject |
Discoverer.componentRegistration(DataObject data)
This method handles a DISCOVERER_REGISTRATION message. |
protected DataObject |
Discoverer.componentUnregistration(DataObject dataObject)
This method is used to unregister a context component from the discoverer. |
DataObject |
Discoverer.componentUpdate(DataObject dataObject)
This method handles the UPDATE_DISCOVERER messages. |
DataObject |
Discoverer.componentSubscription(DataObject dataObject)
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. |
DataObject |
Discoverer.handleQuery(DataObject data)
Handles a DISCOVERER_QUUERY message from components and returns a DataObject containing the identification of the response and the first response. |
static ComponentDescription |
ComponentDescription.dataObjectToComponentDescription(DataObject dataObject)
This method allows to return the ComponentDescription version of a DataObject |
Error |
ComponentDescription.setConstantAttributes(DataObject data)
Adds a set of attribute names to the constant attributes. |
Error |
ComponentDescription.setNonConstantAttributes(DataObject data)
Adds a set of attribute names to the non constant attributes. |
Error |
ComponentDescription.setInAttributes(DataObject data)
Adds a set of incoming attribute names to the cincoming attributes. |
Error |
ComponentDescription.setOutAttributes(DataObject data)
Adds a set of outgoing attributes to the outgoing attributes. |
Error |
ComponentDescription.setServerConstantAttributes(DataObject data)
Adds a set of server constant attributes to the server attributes. |
Error |
ComponentDescription.setServerNonConstantAttributes(DataObject data)
Adds a set of server non constant attributes to the server attributes. |
Error |
ComponentDescription.setSubscribers(DataObject data)
Adds a set of subscriber names to thesubscriber attributes. |
Error |
ComponentDescription.setServerServices(DataObject data)
Adds a set of server service names. |
Error |
ComponentDescription.setWidgetCallbacks(DataObject data)
Adds a set of widget callback names to the callback. |
Error |
ComponentDescription.setWidgetServices(DataObject data)
Adds a set of service names. |
Error |
ComponentDescription.setServerCallbacks(DataObject data)
Adds a set of server callback names. |
Error |
ComponentDescription.setId(DataObject data)
Sets the id. |
Error |
ComponentDescription.setClassname(DataObject data)
Sets the classname. |
Error |
ComponentDescription.setType(DataObject data)
Sets the component type. |
Error |
ComponentDescription.setHostname(DataObject data)
Sets the component hostname. |
Error |
ComponentDescription.setHostaddress(DataObject data)
Sets the component hostaddress. |
Error |
ComponentDescription.setPort(DataObject data)
Sets the component port. |
Error |
ComponentDescription.setLocation(DataObject data)
Sets the component location. |
Error |
ComponentDescription.setVersion(DataObject data)
Sets the component version. |
Error |
ComponentDescription.updateDescription(DataObject data)
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) |
Error |
ComponentDescription.updateDescription(DataObject data,
java.lang.String updateType)
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 |
Uses of DataObject in context.arch.discoverer.componentDescription |
Methods in context.arch.discoverer.componentDescription that return DataObject | |
DataObject |
AbstractDescriptionElement.toDataObject()
Returns the DataObject version |
Methods in context.arch.discoverer.componentDescription with parameters of type DataObject | |
static AbstractDescriptionElement |
AbstractDescriptionElement.fromDataObject(DataObject data)
Takes a DataObject and return an AbstractDescriptionElement object |
Uses of DataObject in context.arch.discoverer.lease |
Methods in context.arch.discoverer.lease that return DataObject | |
DataObject |
Lease.toDataObject()
This method returns the DataObject version of the Lease object |
Methods in context.arch.discoverer.lease with parameters of type DataObject | |
static Lease |
Lease.dataObjectToLease(DataObject dataObject)
This method allows to convert a DataObject to a Lease object |
Uses of DataObject in context.arch.discoverer.querySystem |
Methods in context.arch.discoverer.querySystem that return DataObject | |
DataObject |
QueryItem.toDataObject()
|
abstract DataObject |
AbstractQueryItem.toDataObject()
Returns a DataObject version of this object |
DataObject |
AbstractBooleanQueryItem.toDataObject()
Return the DataObject version of this object |
Methods in context.arch.discoverer.querySystem with parameters of type DataObject | |
static AbstractQueryItem |
QueryItem.fromDataObject(DataObject data)
|
static AbstractQueryItem |
AbstractQueryItem.fromDataObject(DataObject data)
Convert an DataObject into an AbstractQueryItem object |
static AbstractQueryItem |
AbstractBooleanQueryItem.fromDataObject(DataObject data)
Takes a dataObject and returns an AbstracQueryItem object |
Uses of DataObject in context.arch.discoverer.querySystem.comparison |
Methods in context.arch.discoverer.querySystem.comparison that return DataObject | |
DataObject |
AbstractComparison.toDataObject()
|
Methods in context.arch.discoverer.querySystem.comparison with parameters of type DataObject | |
static AbstractComparison |
AbstractComparison.fromDataObject(DataObject data)
|
Uses of DataObject in context.arch.enactor |
Methods in context.arch.enactor that return DataObject | |
DataObject |
EnactorSubscriptionManager.executeWidgetService(java.lang.String subscriptionId,
java.lang.String serviceName,
java.lang.String functionName,
Attributes input)
|
DataObject |
EnactorSubscriptionManager.handle(java.lang.String subscriptionId,
DataObject data)
|
Methods in context.arch.enactor with parameters of type DataObject | |
DataObject |
EnactorSubscriptionManager.handle(java.lang.String subscriptionId,
DataObject data)
|
Uses of DataObject in context.arch.enactor.server |
Methods in context.arch.enactor.server that return DataObject | |
static DataObject |
XMLDataObjectTranslator.fromXML(Document d)
|
Methods in context.arch.enactor.server with parameters of type DataObject | |
static java.lang.String |
XMLDataObjectTranslator.toXML(DataObject d)
|
static Document |
XMLDataObjectTranslator.toJDOMDocument(DataObject data)
|
protected void |
EnactorXMLServer.handleSetParameter(DataObject dobject)
takes a set parameter message sent by a client and sets the appropriate enactor parameter. |
Uses of DataObject in context.arch.handler |
Methods in context.arch.handler that return DataObject | |
DataObject |
Handler.handle(java.lang.String subscriptionId,
DataObject data)
This abstract method is used to generically handle any callbacks that a widget may support. |
DataObject |
AsyncServiceHandler.asynchronousServiceHandle(java.lang.String requestTag,
DataObject data)
This abstract method is used to generically handle the results from any asynchronous service that a widget may support. |
Methods in context.arch.handler with parameters of type DataObject | |
DataObject |
Handler.handle(java.lang.String subscriptionId,
DataObject data)
This abstract method is used to generically handle any callbacks that a widget may support. |
DataObject |
AsyncServiceHandler.asynchronousServiceHandle(java.lang.String requestTag,
DataObject data)
This abstract method is used to generically handle the results from any asynchronous service that a widget may support. |
Uses of DataObject in context.arch.interpreter |
Methods in context.arch.interpreter that return DataObject | |
DataObject |
Interpreter.runUserMethod(DataObject data)
This method is meant to handle any internal methods that the baseObject doesn't handle. |
DataObject |
Interpreter.callInterpreter(DataObject data,
java.lang.String error)
This method ensures that the incoming attributes are correct and calls interpretData(). |
protected DataObject |
Interpreter.runInterpreterMethod(DataObject data,
java.lang.String error)
This is an empty method that should be overridden by objects that subclass from this class. |
DataObject |
Interpreter.getUserDescription()
Overloads the BaseObject method |
DataObject |
Interpreter.getInterpreterDescription()
Returns the interpreter description that should be overloaded |
Methods in context.arch.interpreter with parameters of type DataObject | |
DataObject |
Interpreter.runUserMethod(DataObject data)
This method is meant to handle any internal methods that the baseObject doesn't handle. |
DataObject |
Interpreter.callInterpreter(DataObject data,
java.lang.String error)
This method ensures that the incoming attributes are correct and calls interpretData(). |
protected DataObject |
Interpreter.runInterpreterMethod(DataObject data,
java.lang.String error)
This is an empty method that should be overridden by objects that subclass from this class. |
Uses of DataObject in context.arch.server |
Methods in context.arch.server that return DataObject | |
DataObject |
Server.handle(java.lang.String callback,
DataObject data)
This method implements the handle method in the Handler interface. |
protected DataObject |
Server.queryWidget(DataObject query,
boolean update,
java.lang.String error)
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). |
DataObject |
Server.getWidgetDescription()
This method overloads the widget method It returns the server specific description |
DataObject |
Server.getServerDescription()
Returns the server description that should be overloaded |
Methods in context.arch.server with parameters of type DataObject | |
DataObject |
Server.handle(java.lang.String callback,
DataObject data)
This method implements the handle method in the Handler interface. |
protected DataObject |
Server.queryWidget(DataObject query,
boolean update,
java.lang.String error)
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). |
Uses of DataObject in context.arch.service |
Methods in context.arch.service that return DataObject | |
DataObject |
Services.toDataObject()
Creates a ServiceDescriptions object and returns the DataObject version of it |
abstract DataObject |
Service.execute(ServiceInput serviceInput)
This abstract method defines what should occur when the service is executed. |
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. |
DataObject |
Service.toDataObject()
Creates a ServiceDescription object and returns the DataObject version of it |
DataObject |
InheritedService.execute(ServiceInput serviceInput)
This method is called when a component requests that this inherited service be executed. |
DataObject |
InheritedService.asynchronousServiceHandle(java.lang.String requestTag,
DataObject data)
This method is called when this inherited asynchronous service returns the result. |
DataObject |
DisplayChoiceService.execute(ServiceInput serviceInput)
This method is called when a remote component requests that this service be executed. |
Methods in context.arch.service with parameters of type DataObject | |
DataObject |
InheritedService.asynchronousServiceHandle(java.lang.String requestTag,
DataObject data)
This method is called when this inherited asynchronous service returns the result. |
Uses of DataObject in context.arch.service.helper |
Methods in context.arch.service.helper that return DataObject | |
DataObject |
ServiceInput.toDataObject()
This method converts the service input info to a DataObject |
DataObject |
ServiceDescriptions.toDataObject()
Converts to a DataObject. |
DataObject |
ServiceDescription.toDataObject()
This method converts the service info to a DataObject |
DataObject |
FunctionDescriptions.toDataObject()
Converts to a DataObject. |
DataObject |
FunctionDescription.toDataObject()
This method converts the service function info to a DataObject |
Constructors in context.arch.service.helper with parameters of type DataObject | |
ServiceInput(DataObject data)
Basic constructor that creates a serviceInput object from a DataObject. |
|
ServiceDescriptions(DataObject data)
Constructor that takes a DataObject as a parameter. |
|
ServiceDescription(DataObject data)
Basic constructor that creates a service object from a DataObject. |
|
FunctionDescriptions(DataObject data)
Constructor that takes a DataObject as a parameter. |
|
FunctionDescription(DataObject data)
Basic constructor that creates a function description object from a DataObject. |
Uses of DataObject in context.arch.storage |
Methods in context.arch.storage that return DataObject | |
DataObject |
RetrievalResults.toDataObject()
This method converts the RetrievalResults object to a DataObject |
DataObject |
Retrieval.toDataObject()
Converts to a DataObject |
DataObject |
Attributes.toDataObject()
Converts to a DataObject. |
DataObject |
AttributeNameValue.toDataObject()
Converts this object to a DataObject. |
DataObject |
AttributeFunctions.toDataObject()
Converts to a DataObject. |
DataObject |
AttributeFunction.toDataObject()
Converts this object to a DataObject. |
DataObject |
Attribute.toDataObject()
Converts this object to a DataObject. |
Methods in context.arch.storage with parameters of type DataObject | |
void |
StorageObject.store(DataObject data)
This method stores the attributes in the given DataObject and checks whether the locally stored data should be flushed to persistent storage. |
Constructors in context.arch.storage with parameters of type DataObject | |
RetrievalResults(DataObject data)
Constructor that takes a DataObject holding the callback info. |
|
Retrieval(DataObject retrieval)
Constructor that takes a DataObject as a parameter. |
|
Attributes(DataObject data)
Constructor that takes a DataObject as a parameter. |
|
AttributeNameValue(DataObject attribute)
Constructor that takes a DataObject as input. |
|
AttributeFunctions(DataObject data)
Constructor that takes a DataObject as a parameter. |
|
AttributeFunction(DataObject af)
Constructor that takes a DataObject as input. |
|
Attribute(DataObject attribute)
Constructor that takes a DataObject as input. |
Uses of DataObject in context.arch.subscriber |
Methods in context.arch.subscriber that return DataObject | |
DataObject |
Subscribers.toDataObject()
Converts to a DataObject. |
DataObject |
Subscriber.toDataObject()
This method converts the subscriber info to a DataObject |
DataObject |
DiscovererSubscriber.toDataObject()
This method converts the subscriber info to a DataObject |
DataObject |
ClientSideSubscriber.toDataObject()
This method converts the subscriber info to a DataObject |
DataObject |
Callbacks.toDataObject()
Converts to a DataObject. |
DataObject |
Callback.toDataObject()
This method converts the Callback object to a DataObject |
DataObject |
AbstractSubscriber.toDataObject()
This method converts the subscriber info to a DataObject |
Methods in context.arch.subscriber with parameters of type DataObject | |
static AbstractSubscriber |
AbstractSubscriber.dataObjectToAbstractSubscriber(DataObject data)
This method return a Subscriber object based on the type specified in the SUBSCRIBER tag. |
Constructors in context.arch.subscriber with parameters of type DataObject | |
Subscriber(DataObject data)
Basic constructor that creates a subscriber object from a DataObject. |
|
DiscovererSubscriber(DataObject data)
Basic constructor that creates a subscriber object from a DataObject. |
|
ClientSideSubscriber(DataObject data)
Basic constructor that creates a subscriber object from a DataObject. |
|
Callbacks(DataObject data)
Constructor that takes a DataObject as a parameter. |
|
Callback(DataObject data)
Constructor that takes a DataObject holding the callback info. |
|
AbstractSubscriber(DataObject data)
Basic constructor that creates a subscriber object from a DataObject. |
Uses of DataObject in context.arch.util |
Methods in context.arch.util that return DataObject | |
DataObject |
XMLURLReader.getParsedData()
This method returns a DataObject containing the parsed information from an XML-encoded URL. |
DataObject |
Error.toDataObject()
This method converts the Error object to a DataObject |
Constructors in context.arch.util with parameters of type DataObject | |
Error(DataObject data)
Constructor that takes a DataObject holding the error info The DataObject is expected to contain the |
|
ContextUsers(DataObject data)
Constructor that creates a ContextUser object from a DataObject. |
|
Configuration(DataObject data)
Basic constructor that creates a configuration object from a DataObject. |
|
ConfigObjects(DataObject data)
Constructor that creates a ConfigObjects object from a DataObject. |
Uses of DataObject in context.arch.widget |
Methods in context.arch.widget that return DataObject | |
protected DataObject |
Widget.runWidgetMethod(DataObject data,
java.lang.String error)
This is an empty method that should be overridden by objects that subclass from this class. |
DataObject |
Widget.runUserMethod(DataObject data)
This method is meant to handle any internal methods that the baseObject doesn't handle. |
protected DataObject |
Widget.putData(DataObject data,
java.lang.String error)
This method puts context data in a widget. |
protected DataObject |
Widget.queryCallbacks(DataObject query,
java.lang.String error)
This method queries the callbacks of a widget. |
protected DataObject |
Widget.queryAttributes(DataObject query,
java.lang.String error)
This method queries the attributes of a widget. |
protected DataObject |
Widget.queryConstantAttributes(DataObject query,
java.lang.String error)
This method queries the constant attributes of a widget. |
protected DataObject |
Widget.queryServices(DataObject query,
java.lang.String error)
This method queries the services of a widget. |
protected DataObject |
Widget.queryWidget(DataObject query,
boolean update,
java.lang.String error)
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) |
protected DataObject |
Widget.executeService(DataObject request,
java.lang.String error)
This method attempts to execute a widget service. |
DataObject |
Widget.addSubscriber(DataObject sub,
java.lang.String error)
This method adds a subscriber to this object. |
DataObject |
Widget.removeSubscriber(DataObject sub,
java.lang.String error)
This method removes a subscriber to this object. |
protected DataObject |
Widget.retrieveData(DataObject data,
java.lang.String error)
This method retrieves data from the widget's storage. |
DataObject |
Widget.getUserDescription()
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 |
DataObject |
Widget.getSubscribersDescription()
This method returns a DataObject containig the list of subscribers |
DataObject |
Widget.getWidgetDescription()
This method returns the desciption specific to a widget. |
Methods in context.arch.widget with parameters of type DataObject | |
protected DataObject |
Widget.runWidgetMethod(DataObject data,
java.lang.String error)
This is an empty method that should be overridden by objects that subclass from this class. |
DataObject |
Widget.runUserMethod(DataObject data)
This method is meant to handle any internal methods that the baseObject doesn't handle. |
protected DataObject |
Widget.putData(DataObject data,
java.lang.String error)
This method puts context data in a widget. |
protected DataObject |
Widget.queryCallbacks(DataObject query,
java.lang.String error)
This method queries the callbacks of a widget. |
protected DataObject |
Widget.queryAttributes(DataObject query,
java.lang.String error)
This method queries the attributes of a widget. |
protected DataObject |
Widget.queryConstantAttributes(DataObject query,
java.lang.String error)
This method queries the constant attributes of a widget. |
protected DataObject |
Widget.queryServices(DataObject query,
java.lang.String error)
This method queries the services of a widget. |
protected DataObject |
Widget.queryWidget(DataObject query,
boolean update,
java.lang.String error)
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) |
protected DataObject |
Widget.executeService(DataObject request,
java.lang.String error)
This method attempts to execute a widget service. |
protected void |
Widget.processCallbackReply(DataObject result,
Subscriber sub)
This method should be overriden to process the results of subscription callbacks. |
DataObject |
Widget.addSubscriber(DataObject sub,
java.lang.String error)
This method adds a subscriber to this object. |
DataObject |
Widget.removeSubscriber(DataObject sub,
java.lang.String error)
This method removes a subscriber to this object. |
protected DataObject |
Widget.retrieveData(DataObject data,
java.lang.String error)
This method retrieves data from the widget's storage. |
protected void |
Widget.store(DataObject data)
This stub method stores the data in the given DataObject |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |