[MOBY-guts] biomoby commit

José Manuel Rodríguez Carrasco jmrc at dev.open-bio.org
Fri Aug 29 14:03:16 UTC 2008


jmrc
Fri Aug 29 10:03:16 EDT 2008
Update of /home/repository/moby/moby-live/Docs/asyncDocs
In directory dev.open-bio.org:/tmp/cvs-serv18625/Docs/asyncDocs

Modified Files:
	README.txt 
Log Message:
*	Documentation and examples about multiple asynchronous services
	has been added.
*	Some cosmetic fixes.

moby-live/Docs/asyncDocs README.txt,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Docs/asyncDocs/README.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Docs/asyncDocs/README.txt	2008/03/10 13:13:01	1.1
+++ /home/repository/moby/moby-live/Docs/asyncDocs/README.txt	2008/08/29 14:03:16	1.2
@@ -23,7 +23,7 @@
 	(asynchronous service requests) will be passed to the Services::AsyncServices module.
 	The methods defined in the WS-ResourceProperties spec. ("GetResourceProperty" and
 	"GetMultipleResourceProperties") and the methods of WS-ResourceLifetime spec. ("Destroy")
-	will be passed to the same module, as well.
+	will be passed to the module MOBY::Async::SimpleServer, which knows how to handle them.
 
 * The service module:
 
@@ -40,8 +40,7 @@
 		use SOAP::Lite;
 		use MOBY::CommonSubs qw(:all);
 		use MOBY::Async::SimpleServer;
-		use vars qw(@ISA);
-		@ISA = qw(MOBY::Async::SimpleServer);
+		use base qw(MOBY::Async::SimpleServer);
 
 
 	We are using MOBY::CommonSubs because it exports many useful subroutines that we will
@@ -67,7 +66,7 @@
 					return $self->sync($sayHello, $TIMEOUT, @_);
 
         "sync" expects three parameters:
-			- a variable which is the subroutine that will execute the service ("$sayHello");
+			- a reference to the subroutine that will execute the service ("$sayHello");
 			- the allowed timeout for executing the service ("$TIMEOUT");
 			- and the input data of the service ("@_").
 
@@ -77,7 +76,7 @@
 			return $self->async($sayHello, @_);
 
 	"async" expects two parameters:
-			- a variable which is the subroutine that will execute the service ("$sayHello");
+			- a reference to the subroutine that will execute the service ("$sayHello");
 			- and the input data of the service ("@_").
 
 * The WSDL:




More information about the MOBY-guts mailing list