/******************************************************************************/ /* */ /* RVM.RxSock.cls - The rxsock library of the RVM */ /* ============================================== */ /* */ /* ooRexx's rxsock (extensions/rxsock: rxsock.cpp, rxsockfn.cpp) is a library */ /* of native routines over the BSD sockets: SockSocket, SockBind, SockListen, */ /* SockAccept, SockConnect, SockSend, SockRecv, SockSelect... (28), which */ /* socket.cls and streamsocket.cls wrap in classes (Socket, InetAddress, */ /* HostInfo, StreamSocket). Those are Rexx and run as they are; the routines */ /* are here. It is one of the libraries of the RVM (RVMLibrary, in */ /* RVM.BIFs.cls, has its table, with the types of the arguments: NativeArgs). */ /* */ /* What the RVM does itself, as rxsockfn.cpp does: the arguments, the stems */ /* (a Stem, or a name, with a prefix after its first period: "a.p." sets */ /* A.P.NAME), the variables it sets in the caller (ERRNO and H_ERRNO, the */ /* variable of SockRecv, SockGetSockOpt, SockIoctl FIONREAD) and SockSelect's */ /* arrays. What the host does: the sockets themselves. The RVM of ooRexx */ /* calls the host's rxsock (the same kernel calls, errno names, hostent). */ /* */ /* Blocking. The RVM runs its activities one at a time (RVM.Scheduler): a */ /* call that blocks would block them all (a server that waits in SockAccept */ /* while the client, another activity, is to connect). So the host's sockets */ /* are always non-blocking, and the RVM keeps what the program asked for */ /* (FIONBIO, SO_RCVTIMEO, SO_SNDTIMEO: RVM.SockState). A call that would */ /* block on a socket that the program has as blocking (SockAccept, SockRecv, */ /* SockRecvFrom, SockSend, SockSendTo, SockConnect, and SockSelect with a */ /* timeout that is not 0) makes its activity wait (RVM.SockWait): the others */ /* run, and when none is ready the scheduler waits for the sockets (and the */ /* timers: RVM.SockPoller); then the call is tried again. A timeout of the */ /* socket ends the wait as the kernel does (-1, EWOULDBLOCK; SockConnect: */ /* EINPROGRESS); SockSelect's gives 0. SockSend sends it all, as a blocking */ /* send does (the count). */ /* */ /* This file is part of the RVM, the Rexx Virtual Machine */ /* [See https://rexx.epbcn.com/rexx-parser/] */ /* */ /* This file is derived from the ooRexx interpreter: rxsock (rxsock.cpp, */ /* rxsockfn.cpp, rxsock.h). It is therefore distributed under the Common */ /* Public License v1.0, not under the Apache License 2.0 that covers the rest */ /* of the RVM (see NOTICE). */ /* */ /* Copyright (c) 1995, 2004 IBM Corporation. All rights reserved. */ /* Copyright (c) 2005-2026 Rexx Language Association. All rights reserved. */ /* Copyright (c) 2026 Josep Maria Blasco */ /* */ /* This program and the accompanying materials are made available under the */ /* terms of the Common Public License v1.0 which accompanies this */ /* distribution. A copy is also available at the following address: */ /* https://www.oorexx.org/license.html */ /* */ /******************************************************************************/ -- Run routine 'r' (an entry of RxSockRoutines) with 'args'. ::Routine RxSockNative Public Use Strict Arg r, args, context args = NativeArgs( r, args, context ) key = r[4] Select Case key When "LOAD", "DROP" Then Return "" When "VERSION" Then Return SockVersion() When "ERRNO" Then Return SockSock_Errno() When "PERRNO" Then Do .RVM.RxSock~flush( context ) If args~hasIndex( 1 ) Then Call SockPSock_Errno args[1] Else Call SockPSock_Errno Return "" End Otherwise Nop End op = .Directory~new op~key = key op~name = r[1] op~args = args -- The stems are resolved first, as rxsock does (a stem that cannot be is -- 0, and nothing is done); SockAccept's, when it is done. Select Case key When "BIND", "CONNECT", "PEERNAME", "SOCKNAME" Then Do op~stem = SockStem( args[2], context ) If op~stem == .Nil Then Return 0 If key == "BIND" | key == "CONNECT" Then op~addr = StemAddr( op~stem ) End When "HOSTBYNAME", "HOSTBYADDR" Then Do op~stem = SockStem( args[2], context ) If op~stem == .Nil Then Return 0 End When "RECVFROM", "SENDTO" Then Do -- (flags, stem) or (stem) k = 4 If key == "SENDTO" Then k = 3 If args~hasIndex( k + 1 ) Then Do op~stem = SockStem( args[ k + 1 ], context ) op~flags = MethodString( args[k], k, context~world ) End Else Do op~stem = SockStem( args[k], context ) op~flags = .Nil End If op~stem == .Nil Then Return 0 op~addr = StemAddr( op~stem ) End When "SELECT" Then Do op~sets = .Array~new Do i = 1 To 3 a = .Nil If args~hasIndex( i ) Then a = StemInts( args[i], context ) op~sets[i] = a End op~timeout = .Nil If args~hasIndex( 4 ) Then Do t = args[4] If DataType( t, "N" ) Then If t < 0 Then t = 0 op~timeout = t End End When "SEND" Then op~sent = 0 Otherwise Nop End res = SockTry( op ) If \ SockBlocks( op, res ) Then Return SockFinish( op, res, context ) -- It must wait: for the socket, and for its timeout when it has one. act = context~activity sched = context~world~scheduler w = .RVM.SockWait~new( op, context, act, sched ) act~waitingOn = w sched~addIO( w, .RVM.SockPoller ) ms = SockTimeout( op ) If ms > 0 Then sched~addTimer( act, ms, w ) Return .RVM.Wait~new( w ) -- The stem of an argument (rxsock's StemManager): a Stem, or the name of a -- stem variable of the caller; with a period inside it, the stem is what -- goes up to it, and the rest (in upper case) prefixes the names. An Array -- (the stem, the prefix), or .Nil when it cannot be resolved. ::Routine SockStem Use Strict Arg v, context st = context~world~stemOf( v ) If st \== .Nil Then Return .Array~of( st, "" ) If v~isA( .RVM.Obj ) Then name = v~requestString Else name = str( v ) If name == .Nil Then Return .Nil name = str( name ) dot = Pos( ".", name ) prefix = "" If dot > 0, dot < Length( name ) Then Do prefix = Upper( Substr( name, dot + 1 ) ) name = Left( name, dot ) End st = ContextStem( name, context ) If st == .Nil Then Return .Nil Return .Array~of( st, prefix ) -- The value of 'name' in a stem (an Array of SockStem), a string, or .Nil. ::Routine StemGet Use Strict Arg s, name v = StemElement( s[1], s[2] || name ) If v == .Nil Then Return .Nil If v~isA( .RVM.Obj ) Then Return str( v~requestString ) Return str( v ) ::Routine StemSet Use Strict Arg s, name, v s[1]~setTail( s[2] || name, v ) -- FAMILY, PORT, ADDR of a stem (rxsock's stemToSockAddr): a Directory of -- those that have a value. ::Routine StemAddr Use Strict Arg s d = .Directory~new Do name Over "FAMILY PORT ADDR"~subWords v = StemGet( s, name ) If v \== .Nil Then d[ name ] = v End Return d -- The sockets of an argument of SockSelect (rxsock's stemToIntArray): an -- Array (the stem, the numbers), or .Nil (not a stem, no count, or one that -- is not a whole number: rxsock does not use it, nor sets it). ::Routine StemInts Use Strict Arg v, context s = SockStem( v, context ) If s == .Nil Then Return .Nil n = StemGet( s, 0 ) If n == .Nil Then Return .Nil If \ DataType( n, "W" ) Then Return .Nil list = .Array~new Do i = 1 To n x = StemGet( s, i ) If x == .Nil Then Return .Nil If \ DataType( x, "W" ) Then Return .Nil list~append( x / 1 ) End Return .Array~of( s, list ) -- Set variable 'name' of the caller (the API's SetContextVariable: a name -- that is not a variable is ignored). ::Routine SetNamed Use Strict Arg name, v, context ref = NameRef( name, context ) Select Case ref[1] When "SIMPLE" Then context~setVar( ref[2], v ) When "STEM" Then context~setStem( ref[2], v ) When "COMPOUND" Then context~setCompound( ref[2], ref[3], v ) Otherwise Nop End -- Does the call have to wait? When the socket would block and the program -- has it as blocking; SockSelect, when nothing is ready and its timeout is -- not 0. ::Routine SockBlocks Use Strict Arg op, res Select Case op~key When "ACCEPT", "RECV", "RECVFROM", "SEND", "SENDTO" Then If res~errno \== "EWOULDBLOCK" Then Return .False When "CONNECT" Then If res~errno \== "EINPROGRESS" Then Return .False When "SELECT" Then Do If res~rc \== 0 Then Return .False If op~timeout == .Nil Then Return .True Return op~timeout > 0 End Otherwise Return .False End Return \ .RVM.RxSock~state( op~args[1] )~nonblocking -- The milliseconds a wait may last (0: for ever): the socket's timeout. ::Routine SockTimeout Use Strict Arg op Select Case op~key When "SELECT" Then Do If op~timeout == .Nil Then Return 0 Numeric Digits 18 Return Max( 1, Trunc( op~timeout * 1000 ) ) End When "ACCEPT", "RECV", "RECVFROM" Then Return .RVM.RxSock~state( op~args[1] )~rcvtimeo Otherwise Return .RVM.RxSock~state( op~args[1] )~sndtimeo End -- The fds a wait waits for: an Array (to read, to write). ::Routine SockWaitsFor Use Strict Arg op reads = .Array~new; writes = .Array~new Select Case op~key When "ACCEPT", "RECV", "RECVFROM" Then reads~append( op~args[1] ) When "SELECT" Then Do If op~sets[1] \== .Nil Then reads~appendAll( op~sets[1][2] ) If op~sets[2] \== .Nil Then writes~appendAll( op~sets[2][2] ) If op~sets[3] \== .Nil Then reads~appendAll( op~sets[3][2] ) End Otherwise writes~append( op~args[1] ) End Return .Array~of( reads, writes ) -- The end of a call: the variables of the caller (ERRNO, H_ERRNO, the -- stems), and its result. ::Routine SockFinish Use Strict Arg op, res, context If res~errno \== .Nil Then Call SetNamed "errno", res~errno, context If res~herrno \== .Nil Then Call SetNamed "h_errno", res~herrno, context rc = res~rc args = op~args Select Case op~key When "SOCKET" Then If rc >= 0 Then .RVM.RxSock~opened( rc ) When "CLOSE" Then If rc >= 0 Then .RVM.RxSock~closed( args[1] ) When "ACCEPT" Then Do If rc >= 0 Then .RVM.RxSock~opened( rc ) If args~hasIndex( 2 ) Then Do s = SockStem( args[2], context ) If s == .Nil Then Return 0 Call StemSetAddr s, res~addr End End When "PEERNAME", "SOCKNAME" Then Call StemSetAddr op~stem, res~addr When "RECVFROM" Then Do Call StemSetAddr op~stem, res~addr Call SetNamed args[2], res~data, context End When "RECV" Then Call SetNamed args[2], res~data, context When "HOSTBYNAME", "HOSTBYADDR" Then If rc == 1 Then Do Do tail Over res~hostent~allIndexes Call StemSet op~stem, tail, res~hostent[ tail ] End End When "GETOPT" Then Call SetNamed args[4], res~value, context When "IOCTL" Then If res~value \== .Nil Then Call SetNamed MethodString( args[3], 3, context~world ), res~value, context When "SETOPT" Then If rc == 0 Then .RVM.RxSock~optionSet( args[1], args[3], args[4] ) When "SEND" Then Do -- A blocking send sends it all: the count (or -1, when nothing was). If rc >= 0 | op~sent > 0 Then rc = op~sent End When "SELECT" Then Do i = 1 To 3 set = op~sets[i] If set == .Nil Then Iterate If rc == 0 Then list = set[2] Else list = res~ready[i] Call StemSet set[1], 0, list~items Do j = 1 To list~items Call StemSet set[1], j, list[j] End End Otherwise Nop End Return rc ::Routine StemSetAddr Use Strict Arg s, addr Do name Over "FAMILY PORT ADDR"~subWords If addr~hasIndex( name ) Then Call StemSet s, name, addr[ name ] End -- A wait ended by the socket's timeout: what the kernel says then. ::Routine SockTimedOut Use Strict Arg op, context res = SockTry( op ) If \ SockBlocks( op, res ) Then Return SockFinish( op, res, context ) If op~key == "SELECT" Then Do res~rc = 0 Return SockFinish( op, res, context ) End res = .Directory~new res~rc = -1 res~herrno = "0" res~errno = "EWOULDBLOCK" If op~key == "CONNECT" Then res~errno = "EINPROGRESS" res~data = "" res~addr = .Directory~new Return SockFinish( op, res, context ) /******************************************************************************/ /* The host (the RVM of ooRexx: the host's rxsock). SockTry makes the call */ /* on the host's socket, which never blocks: a Directory with its rc, errno */ /* and h_errno (.Nil: not set), and what it gives (addr, data, hostent, */ /* value, ready). */ /******************************************************************************/ ::Routine SockTry Use Strict Arg op args = op~args res = .Directory~new res~addr = .Directory~new Drop errno h_errno Select Case op~key When "INIT" Then rc = SockInit() When "SOCKET" Then Do rc = SockSocket( args[1], args[2], args[3] ) If rc >= 0 Then Do e = errno; h = h_errno Call SockIoctl rc, "FIONBIO", 1 errno = e; h_errno = h End End When "CLOSE" Then rc = SockClose( args[1] ) When "BIND", "CONNECT" Then Do Drop a. Do name Over op~addr~allIndexes a.name = op~addr[ name ] End If op~key == "BIND" Then rc = SockBind( args[1], "A." ) Else Do -- A connection in progress (a wait that is tried again): connect -- again, as a non-blocking program does, so that the socket ends -- as a blocking connect leaves it (unconnected after an error): -- EALREADY, still in progress; EISCONN, connected; else its error. rc = SockConnect( args[1], "A." ) If op~connecting == 1 Then Select When errno == "EALREADY" Then errno = "EINPROGRESS" When errno == "EISCONN" Then Do rc = 0; errno = "0" End Otherwise Nop End If errno == "EINPROGRESS" Then op~connecting = 1 End End When "LISTEN" Then rc = SockListen( args[1], args[2] ) When "SHUTDOWN" Then rc = SockShutDown( args[1], args[2] ) When "ACCEPT" Then Do Drop a. rc = SockAccept( args[1], "A." ) If rc >= 0 Then Do e = errno; h = h_errno Call SockIoctl rc, "FIONBIO", 1 errno = e; h_errno = h End res~addr = HostAddr( a. ) End When "PEERNAME", "SOCKNAME" Then Do Drop a. If op~key == "PEERNAME" Then rc = SockGetPeerName( args[1], "A." ) Else rc = SockGetSockName( args[1], "A." ) res~addr = HostAddr( a. ) End When "RECV" Then Do v = "" If args~hasIndex( 4 ) Then rc = SockRecv( args[1], "V", args[3], args[4] ) Else rc = SockRecv( args[1], "V", args[3] ) res~data = v End When "RECVFROM" Then Do Drop a. Do name Over op~addr~allIndexes a.name = op~addr[ name ] End v = "" If op~flags \== .Nil Then rc = SockRecvFrom( args[1], "V", args[3], op~flags, "A." ) Else rc = SockRecvFrom( args[1], "V", args[3], "A." ) res~data = v res~addr = HostAddr( a. ) End When "SEND" Then Do data = Substr( args[2], op~sent + 1 ) If args~hasIndex( 3 ) Then rc = SockSend( args[1], data, args[3] ) Else rc = SockSend( args[1], data ) If rc >= 0 Then Do op~sent += rc -- Not all of it: a blocking send waits to send the rest. If op~sent < Length( args[2] ) Then Do If \ .RVM.RxSock~state( args[1] )~nonblocking Then errno = "EWOULDBLOCK" Else op~sent = rc End End End When "SENDTO" Then Do Drop a. Do name Over op~addr~allIndexes a.name = op~addr[ name ] End If op~flags \== .Nil Then rc = SockSendTo( args[1], args[2], op~flags, "A." ) Else rc = SockSendTo( args[1], args[2], "A." ) End When "HOSTBYNAME", "HOSTBYADDR" Then Do Drop h. If op~key == "HOSTBYNAME" Then rc = SockGetHostByName( args[1], "H." ) Else If args~hasIndex( 3 ) Then rc = SockGetHostByAddr( args[1], "H.", args[3] ) Else rc = SockGetHostByAddr( args[1], "H." ) t = .Directory~new If rc == 1 Then Do tail Over h.~allIndexes t[ tail ] = h.tail End res~hostent = t End When "HOSTID" Then rc = SockGetHostId() When "HOSTNAME" Then rc = SockGetHostName() When "GETOPT" Then Do x = "" rc = SockGetSockOpt( args[1], args[2], args[3], "X" ) res~value = x End When "SETOPT" Then rc = SockSetSockOpt( args[1], args[2], args[3], args[4] ) When "IOCTL" Then Do -- FIONBIO is the program's (the host's socket stays non-blocking); -- FIONREAD sets a variable of the caller. command = args[2] value = AnyString( args[3] ) If Upper( Strip( command ) ) == "FIONBIO" Then Do If \ IsInt32( value ) Then rc = SockIoctl( args[1], command, value ) Else Do rc = SockIoctl( args[1], command, 1 ) If rc >= 0 Then .RVM.RxSock~state( args[1] )~nonblocking = ( value \= 0 ) End End Else Do x = .Nil rc = SockIoctl( args[1], command, "X" ) If Upper( Strip( command ) ) == "FIONREAD" Then res~value = x End End When "SELECT" Then Do Drop r. w. x. stems = "R. W. X." Do i = 1 To 3 stem = Word( stems, i ) If op~sets[i] == .Nil Then Call Value stem"0", 0 Else Do list = op~sets[i][2] Call Value stem"0", list~items Do j = 1 To list~items Call Value stem || j, list[j] End End End rc = SockSelect( "R.", "W.", "X.", 0 ) ready = .Array~new Do i = 1 To 3 stem = Word( stems, i ) list = .Array~new Do j = 1 To Value( stem"0" ) list~append( Value( stem || j ) ) End ready[i] = list End res~ready = ready End Otherwise Raise Syntax 93.900 Additional( "RVM: rxsock routine" op~name "is missing" ) End res~rc = rc res~errno = .Nil res~herrno = .Nil If Var( "errno" ) Then res~errno = errno If Var( "h_errno" ) Then res~herrno = h_errno Return res ::Routine HostAddr Use Arg a. d = .Directory~new Do name Over "FAMILY PORT ADDR"~subWords If a.~hasIndex( name ) Then d[ name ] = a.name End Return d -- The string value of an argument of the API's RexxObjectPtr. ::Routine AnyString Use Strict Arg v If v~isA( .RVM.Obj ) Then Return str( v~requestString ) Return str( v ) ::Routine IsInt32 Use Strict Arg v If \ DataType( v, "W" ) Then Return .False Numeric Digits 20 Return v >= -2147483648 & v <= 2147483647 -- The name of an errno (Linux), as rxsock's setErrno gives it; else its -- number. ::Routine ErrnoName Public Use Strict Arg n names = .RVM.RxSock~errnoNames If names~hasIndex( n ) Then Return names[ n ] Return n /******************************************************************************/ /* The state of the program's sockets (the host's are non-blocking): the */ /* FIONBIO it asked for, and SO_RCVTIMEO and SO_SNDTIMEO (milliseconds). */ /******************************************************************************/ ::Class RVM.RxSock Public ::Attribute states Class ::Attribute errnoNames Class ::Method activate Class Expose states errnoNames states = .Table~new errnoNames = .Table~new list = "11 EWOULDBLOCK 115 EINPROGRESS 114 EALREADY 88 ENOTSOCK 89 EDESTADDRREQ" - "90 EMSGSIZE 91 EPROTOTYPE 92 ENOPROTOOPT 93 EPROTONOSUPPORT" - "94 ESOCKTNOSUPPORT 95 EOPNOTSUPP 96 EPFNOSUPPORT 97 EAFNOSUPPORT" - "98 EADDRINUSE 99 EADDRNOTAVAIL 100 ENETDOWN 101 ENETUNREACH 102 ENETRESET" - "103 ECONNABORTED 104 ECONNRESET 105 ENOBUFS 106 EISCONN 107 ENOTCONN" - "108 ESHUTDOWN 109 ETOOMANYREFS 110 ETIMEDOUT 111 ECONNREFUSED 40 ELOOP" - "36 ENAMETOOLONG 112 EHOSTDOWN 113 EHOSTUNREACH 39 ENOTEMPTY" Do i = 1 To Words( list ) By 2 errnoNames[ Word( list, i ) ] = Word( list, i + 1 ) End -- The state of socket fd (a new one, for one the RVM did not open). ::Method state Class Expose states Use Strict Arg fd s = states[ fd ] If s == .Nil Then Do s = .RVM.SockState~new states[ fd ] = s End Return s ::Method opened Class Expose states Use Strict Arg fd states[ fd ] = .RVM.SockState~new ::Method closed Class Expose states Use Strict Arg fd states~remove( fd ) -- SockSetSockOpt succeeded: the timeouts are the RVM's too. ::Method optionSet Class Use Strict Arg fd, option, value o = Upper( Strip( option ) ) If o \== "SO_RCVTIMEO" & o \== "SO_SNDTIMEO" Then Return Parse Var value ms . If \ DataType( ms, "W" ) Then ms = 0 If ms < 0 Then ms = 0 If o == "SO_RCVTIMEO" Then self~state( fd )~rcvtimeo = ms Else self~state( fd )~sndtimeo = ms -- The standard error is the host's too (SockPSock_Errno): what the RVM has -- written goes first. ::Method flush Class Use Strict Arg context Signal On Any Name Done .Error~flush Done: Return ::Class RVM.SockState Public ::Attribute nonblocking ::Attribute rcvtimeo ::Attribute sndtimeo ::Method init Expose nonblocking rcvtimeo sndtimeo nonblocking = .False; rcvtimeo = 0; sndtimeo = 0 /******************************************************************************/ /* A call that waits (RVM.Wait's 'on'): the scheduler has it among its I/O */ /* waits (RVM.Scheduler~addIO) until its sockets are ready (retry) or its */ /* timeout comes (timeout). Then its activity goes on with the result. */ /******************************************************************************/ ::Class RVM.SockWait Public ::Attribute op ::Attribute context ::Attribute act ::Attribute reads ::Attribute writes ::Method init Expose op context act sched reads writes Use Strict Arg op, context, act, sched fds = SockWaitsFor( op ) reads = fds[1]; writes = fds[2] ::Method owningActivity Return .Nil -- Its sockets are ready (or the poll failed): the call again. ::Method retry Expose op context res = SockTry( op ) If SockBlocks( op, res ) Then Return self~done( SockFinish( op, res, context ) ) ::Method timeout Expose op context Use Strict Arg act self~done( SockTimedOut( op, context ) ) ::Method done Expose act sched Use Strict Arg v sched~removeIO( self ) act~semDone( v ) -- Its activity ended while it waited. ::Method cancel Expose sched sched~removeIO( self ) /******************************************************************************/ /* The scheduler's poll of the I/O waits (RVM.Scheduler~pollIO): the host's */ /* select on their sockets, for 'ms' milliseconds at most (-1: until one is */ /* ready); the waits whose sockets are ready are tried again. When the select */ /* fails (a socket closed by another activity: EBADF), all are. */ /******************************************************************************/ ::Class RVM.SockPoller Public ::Method poll Class Use Strict Arg sched, ms waits = sched~ios~copy If waits~isEmpty Then Return Drop r. w. r.0 = 0; w.0 = 0 seen = .Set~new Do wt Over waits Do fd Over wt~reads If seen~hasIndex( "R" fd ) Then Iterate seen~put( "R" fd ) n = r.0 + 1; r.n = fd; r.0 = n End Do fd Over wt~writes If seen~hasIndex( "W" fd ) Then Iterate seen~put( "W" fd ) n = w.0 + 1; w.n = fd; w.0 = n End End Numeric Digits 18 If ms < 0 Then rc = SockSelect( "R.", "W." ) Else rc = SockSelect( "R.", "W.", , ms / 1000 ) If rc < 0 Then Do Do wt Over waits wt~retry End Return End If rc == 0 Then Return ready = .Set~new Do i = 1 To r.0 ready~put( "R" r.i ) End Do i = 1 To w.0 ready~put( "W" w.i ) End Do wt Over waits go = .False Do fd Over wt~reads Until go go = ready~hasIndex( "R" fd ) End Do fd Over wt~writes Until go go = ready~hasIndex( "W" fd ) End If go Then wt~retry End ::Requires "modules/rvm/RVM.Number.cls" ::Requires "modules/rvm/RVM.Objects.cls" ::Requires "modules/rvm/RVM.BIFs.cls" ::Requires "modules/rvm/RVM.RexxUtil.cls"