ammarblue / myrobotlab

Automatically exported from code.google.com/p/myrobotlab
0 stars 0 forks source link

PublishState - new service method #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A new method of communicating Service state information would be a 
"PublishState". Configuration could possibly be eliminated.  State information 
would be in local variables/fields. 

Binary serialization could be done using Java's default serialization.  Textual 
serialization could be done with reflection into various templates forms 
(Properties & XML)

Partial state information could be send depending on need.

DifferentialDrive is the first one to use this system.

ServiceEntry and other registry framework data should uses this new method.

Original issue reported on code.google.com by supert...@gmail.com on 7 May 2011 at 3:47

GoogleCodeExporter commented 9 years ago
New terms - proxy/dead Service - this is the concept of a non-running service 
existing as a reflective proxy to a running Service located remotely.

Service Environment - this is the domain of a service registry - a group of 
services in the same Service Environment would be considered "local".  If 2 
Services exist in different Service Environments, then they are considered 
remote even if they exist in the same process

getState/setState - two Service implementations which reflectively get or set 
the proxy's fields

Original comment by supert...@gmail.com on 20 May 2011 at 11:44

GoogleCodeExporter commented 9 years ago
Has been put into Clock Service - use as a guideline

Original comment by supert...@gmail.com on 25 Oct 2011 at 10:29

GoogleCodeExporter commented 9 years ago
Check Jython GUI as another example

Original comment by supert...@gmail.com on 2 Nov 2011 at 7:02

GoogleCodeExporter commented 9 years ago

Original comment by supert...@gmail.com on 15 Feb 2013 at 2:57