Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Readme appended with last changes, OTP functions in base_process

  • Loading branch information...
commit c43dc6c2c056a0f658749a6312601b1a6e1863f4 1 parent f048f7b
@mmeisinger mmeisinger authored
Showing with 24 additions and 0 deletions.
  1. +15 −0 README.txt
  2. +9 −0 ion/core/base_process.py
View
15 README.txt
@@ -76,3 +76,18 @@ Note:
This project dependes closely on magnet. Whenever you do a "git pull" on
this project, there is a chance that you need to update and install magnet
again (see above). Please review the branch logs for any cues.
+
+
+---------------------------------------------------------------------------
+Change log:
+===========
+
+2010-05-06:
+- Refactored the BaseProcess class.
+ - You can now do RPC directly from the process, via self.rpc_send without
+ the need for an RpcClient
+ - Added aliases: self.send, self.reply (use these now)
+ - Process instance can be spawned via self.spawn()
+- Provided an easier to use BaseServiceClient, which uses a default service
+ name lookup. Accepts BaseProcess instance as argument to use for sending/
+ receiving service calls.
View
9 ion/core/base_process.py
@@ -226,6 +226,15 @@ def get_scoped_name(self, scope, name):
# Some aliases for initial backwards compatibility
send_message = send
reply_message = reply
+
+ # OTP style functions for working with processes and modules/apps
+
+ def spawn_child(self):
+ pass
+ def link_child(self):
+ pass
+ def spawn_link(self):
+ pass
class ProtocolFactory(ProtocolFactory):
"""
Please sign in to comment.
Something went wrong with that request. Please try again.