Re: [Oorexx-devel] Question ad retrieving package object after returning from a RexxThreadContext

2009-05-10 Thread Rick McGuire
I am not insulting, but you keep re-asking questions that I have already indicated have no meaning. I can only answer the question you ask, and you've been answering a lot of unanswerable questions the last couple of days. The direct equivalent to the java call() method is SendMessage(). If you

Re: [Oorexx-devel] Question ad retrieving package object after returning from a RexxThreadContext

2009-05-10 Thread Rony G. Flatscher
Rick McGuire wrote: > Um, noand I have no idea where any of these words came from. > > There is no such concept as a defineable/settable context environment. > So it that sense, yes this is true. It is also pure giberish. I > have no idea what you think you're trying to do here. but you > o

Re: [Oorexx-devel] Question ad retrieving package object after returning from a RexxThreadContext

2009-05-10 Thread Rick McGuire
Um, noand I have no idea where any of these words came from. There is no such concept as a defineable/settable context environment. So it that sense, yes this is true. It is also pure giberish. I have no idea what you think you're trying to do here. but you obviously don't understand what's

Re: [Oorexx-devel] Question ad retrieving package object after returning from a RexxThreadContext

2009-05-10 Thread Rony G. Flatscher
Rick McGuire wrote: > Again, there is NO SUCH CONCEPT. And I don't care how many times you > ask the question, the answer will remain the same. There are not > packages attached to object instances, regardless of where you > obtained the object from. There is no concept of a "package used for >

Re: [Oorexx-devel] Question ad retrieving package object after returning from a RexxThreadContext

2009-05-10 Thread Rick McGuire
Again, there is NO SUCH CONCEPT. And I don't care how many times you ask the question, the answer will remain the same. There are not packages attached to object instances, regardless of where you obtained the object from. There is no concept of a "package used for an object". However, an indiv

Re: [Oorexx-devel] Question ad retrieving package object after returning from a RexxThreadContext

2009-05-10 Thread Rony G. Flatscher
What happens, if one uses a RexxThreadContext to send a message [i.e. SendMessage(), SendMessage0(), SendMessage1(), SendMessage2()] to an object that was retrieved from a registry in the native layer? What "package" is used for it? ---rony Rick McGuire wrote: > Retrieving a package object fr

Re: [Oorexx-devel] Package unloader not run ?

2009-05-10 Thread Rick McGuire
The interpreter instance becomes inactive when you terminate it. You create the instance, you do something with it, when you are finished, you terminate it. If that's the last active instance, then the global environment is shutdown. Rick On Sun, May 10, 2009 at 3:57 PM, Rony G. Flatscher wrot

Re: [Oorexx-devel] Package unloader not run ?

2009-05-10 Thread Rony G. Flatscher
Rick McGuire wrote: > Loaded packages are global to the processthey will only be > unloaded once all active interpreter instances go away. > Hmm. If one uses RexxCreateInterpreter(), which loads a library, but just keeps a pointer to that instance, without using it for anything (hence no co

Re: [Oorexx-devel] Package unloader not run ?

2009-05-10 Thread Rick McGuire
Loaded packages are global to the processthey will only be unloaded once all active interpreter instances go away. Rick On Sun, May 10, 2009 at 1:28 PM, Rony G. Flatscher wrote: > It seems that the package unloader function does not run if there exists > an interpreter instance that has not

Re: [Oorexx-devel] Question ad retrieving package object after returning from a RexxThreadContext

2009-05-10 Thread Rick McGuire
Retrieving a package object from a RexxThreadContext has no meaning. There is no package associated with a thread context, only specific execution contexts such as a method invocation or a function call. Rick On Sun, May 10, 2009 at 1:21 PM, Rony G. Flatscher wrote: > Is it possible to retrieve

[Oorexx-devel] Package unloader not run ?

2009-05-10 Thread Rony G. Flatscher
It seems that the package unloader function does not run if there exists an interpreter instance that has not received a Terminate() request. In this use-case a RexxStart() is used to run a Rexx program, but independently, a RexxCreateInstance() instance got created and just hangs around. Is this

[Oorexx-devel] Question ad retrieving package object after returning from a RexxThreadContext

2009-05-10 Thread Rony G. Flatscher
Is it possible to retrieve the package object from a RexxThreadContext()? Currently it seems that package objects can only be retrieved via GetMethodPackage(), GetRoutinePackage(), or via a RexxCallContext() using the GetCallerContext() entry "PACKAGE". ---rony ---

Re: [Oorexx-devel] Conventioin for app-specific Rexx error reporting ?

2009-05-10 Thread Rony G. Flatscher
Rony G. Flatscher wrote: > In the process of turning BSF4Rexx to using the new APIs it becomes > possible to raise conditions. > > Each numbered error category has a message number 900 which allows for > supplying any text describing the concrete error. > > The question: what convention should be

Re: [Oorexx-devel] New Feature Questions

2009-05-10 Thread Gil Barmwater
Thanks David! David Ashley wrote: > Mark Miesfeld wrote: > >>On Sat, May 9, 2009 at 9:09 AM, Gil Barmwater wrote: >> >> >> >>>Where is the sockets.cls, in the samples? >>> >>> >> >>Oh, and for your original question, how do you make use of them. You >>would use a ::requires 'socket.cls' >

Re: [Oorexx-devel] New Feature Questions

2009-05-10 Thread David Ashley
Mark Miesfeld wrote: On Sat, May 9, 2009 at 9:09 AM, Gil Barmwater wrote: Where is the sockets.cls, in the samples? Oh, and for your original question, how do you make use of them. You would use a ::requires 'socket.cls' I think, but didn't check, that the scclient.rex, scserver.re