Oz and Mozart Users Mailing List

Troubles with REMOTE


From: albert soletsky (asoletsky@yahoo.com)
Date: Wed Nov 07 2001 - 23:05:20 CET


Hi everybody,

I am trying to install a functor remotely, the next is
the code.
**************************************************
functor
import Connection
export server:S
define
   class Server
      feat name address publish selfStatic
      attr clients

      meth initF(selfStatic:S)
         self.selfStatic=S
      end
   
      meth init(name:N address:A publish:Url)
         self.selfStatic=S
         self.name=N
         self.address={Connection.offerUnlimited
self.selfStatic}
         A=self.address
         self.publish=Url
      end
   end
   S
in
   S={New Server initF(selfStatic:S)}
end
***************************************************
That is saved as server.oz and after compilation
server.ozf is created.

I want to install the previous functor in a remote
manager:

declare Ad MM P
[Server]={Module.link ['server.ozf']}
MM={New Remote.manager init(fork:sh detach:true)}

How can i do for apply/link the functor in MM

best regards,

Albert Soletsky

__________________________________________________
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com
-
Please send submissions to users@mozart-oz.org
and administriva mail to users-request@mozart-oz.org.
The Mozart Oz web site is at http://www.mozart-oz.org/.



This archive was generated by hypermail 2b29.