Create a CORBA server with a particular IDL type and local R data.

Usage

.CorbaServer(idlTypes, ..., name="", evalFunc="", block=T, activate=T, checkTypes=T, handlerType)

Arguments

idlTypes a string identifier for the IDL type being implemented by this server. This is usually texttt{IDL:module/sub-module/.../Interface:1.0} or texttt{module::sub-module::...::Interface}
... a list of the R{} objects which are being used to implement the CORBA servers. These are
name if the name(s) of the servers are non-simple names (i.e. nested names within a naming context), the can be specified here.
evalFunc the name of the R{} function which is used to handle the generic CORBA operation call and map it to the server. This is used if the object is not a closure. In that case, the call is made directly into to the function identified by the operation name and accessible in the closure.
block logical indicating whether we should enter the request event loop immediately after creating this server or not so that requests will not be processed at this point.
activate
checkTypes logical indicating whether we should check that the IDL type is defined in the Interface Repository.
handlerType flag indicating what type of interpreted object is being used to implement the server - a simple object, a closure, a function, etc.

Description

This creates a CORBA server which is implemented via interpreted R{} code using the Dynamic CORBA Server facilities (DSI).

Details

Value

If the invocation is blocking, the return value is the resulting state of the server when it is deactivated and the request loop exited. Otherwise, it is the IOR of the CORBA server created.

Author(s)

Duncan Temple Lang

References

http://www.omegahat.org/CORBA

See Also

.Corba

Examples


  .CorbaServer("IDL:Omegahat/Matrix:1.0", Rmatrix=baseMatrixHandlerGenerator())


[Package Contents]