[Previous] [Contents] [Next] [IONA Technologies]


IDL Interface to the OrbixWeb Daemon


Contents

IT_daemon::addLaunchRightsDir()
IT_daemon::addGroupsToServer()
IT_daemon::addHostsToGroup()
IT_daemon::addHostsToServer()
IT_daemon::addInvokeRights()
IT_daemon::addInvokeRightsDir()
IT_daemon::addLaunchRights()
IT_daemon::addLaunchRightsDir()
IT_daemon::addMethod()
IT_daemon::addSharedMarker()
IT_daemon::addUnsharedMarker()
IT_daemon::changeOwnerServer()
IT_daemon::deleteDirectory()
IT_daemon::deleteServer()
IT_daemon::delGroupsFromServer()
IT_daemon::delHostsFromGroup()
IT_daemon::delHostsFromServer()
IT_daemon::getServer()
IT_daemon::killServer()
IT_daemon::LaunchStatus
IT_daemon::listActiveServers()
IT_daemon::listGroupsInServer()
IT_daemon::listHostsInGroup()
IT_daemon::listHostsInServer()
IT_daemon::listServers()
IT_daemon::lookUp()
IT_daemon::newDirectory()
IT_daemon::newPerMethodServer()
IT_daemon::newSharedServer()
IT_daemon::newUnSharedServer()
IT_daemon::removeDirRights()
IT_daemon::removeInvokeRights()
IT_daemon::removeInvokeRightsDir()
IT_daemon::removeLaunchRights()
IT_daemon::removeLaunchRightsDir()
IT_daemon::removeMethod()
IT_daemon::removeSharedMarker()
IT_daemon::removeUnsharedMarker()
IT_daemon::serverDetails
IT_daemon::serverExists()



Synopsis:

The OrbixWeb daemon is itself an OrbixWeb server whose IDL interface is called IT_daemon. The OrbixWeb daemon is responsible for launching servers (if an appropriate server is not already running) and dispatching operation requests. The daemon is involved, if at all, only with the first operation request from a client–it is not involved with subsequent requests. The OrbixWeb daemon executable is called orbixd (orbixd.exe on Windows 95 and Windows NT).

The OrbixWeb daemon is also responsible for managing the Implementation Repository. It accepts all requests from the OrbixWeb utilities–putit, catit, lsit and so on.

The OrbixWeb daemon is also used to search for an appropriate server via the locator and manages the configuration files used by the default locator)


Description

UNIX

Windows 95,
Windows NT
The server location file maintains a mapping from a server name to a list of hosts and host groups on which the server runs.

     Orbix.hosts
    
     orbix.hst
    
The host groups definition file defines the host groups.

     Orbix.hostgroups
    
     orbix.grp
    

.

Naturally, programs can alternatively edit these files or, on UNIX or Windows NT, execute one of the utility commands serverhosts, servergroups or grouphosts as appropriate (see section 3.4).

As an OrbixWeb server, applications may bind to the OrbixWeb daemon in the normal way. For example, the following code can be used to bind to the OrbixWeb daemon on host targetHost:

OrbixWeb:

Notes:

OrbixWeb specific.



IT_daemon::addLaunchRightsDir()


Synopsis:

Description:

Adds the user or group in userGroup to the list of owners for the directory dirName.

Notes:

OrbixWeb specific.



IT_daemon::addGroupsToServer()


Synopsis:

Description:

Adds the groups specified in groupList to the list of groups for the entry for server in the server location locator configuration file.

Notes:

OrbixWeb specific.

See Also:



IT_daemon::addHostsToGroup()


Synopsis:

Description:

Adds the hosts specified in hostlist to the group, group, in the host groups definition locator configuration file.

Notes:

OrbixWeb specific.

See Also:



IT_daemon::addHostsToServer()


Synopsis:

Description:

Adds the host(s) specified in hostList to the list of hosts for the entry for server in the server location locator configuration file.

Notes:

OrbixWeb specific.

See Also:



IT_daemon::addInvokeRights()


Synopsis:

Description:

Adds the user or group in userGroup to the invoke access control list (ACL) for the server serverName. A user who has invoke rights on a server can invoke operations on any object controlled by that server. By default, only the owner of an Implementation Repository entry has invoke rights on the server registered.

Notes:

OrbixWeb specific.

See Also:



IT_daemon::addInvokeRightsDir()


Synopsis:

Description:

Adds the user or group in userGroup to the invoke access control list (ACL) for the directory dirName.

Notes:

OrbixWeb specific.

See Also:



IT_daemon::addLaunchRights()


Synopsis:

Description:

Adds the user or group in userGroup to the launch access control list for the server serverName. By default, only the owner of an Implementation Repository entry has launch rights on the server registered.

Notes:

OrbixWeb specific.

See Also:



IT_daemon::addLaunchRightsDir()


Synopsis:

Description:

Adds the user or group in userGroup to the launch access control list for the directory dirName.

Notes:

OrbixWeb specific.

See Also:



IT_daemon::addMethod()


Synopsis:

Description:

Adds an activation order to the Implementation Repository entry for the per-method server, serverName. This activation order specifies that an invocation of a method whose name matches the method (or method pattern) indicated in methodName should cause the server to be launched using the command newCommand.

Notes:

OrbixWeb specific.

See Also:



IT_daemon::addSharedMarker()


Synopsis:

Description:

Adds an activation order to the Implementation Repository entry for the shared server, serverName. This activation order specifies that an invocation for an object whose marker matches the marker (or marker pattern) indicated in markerName should cause the server to be launched (if not already running) using the command, newCommand.

Notes:

OrbixWeb specific.

See Also:



IT_daemon::addUnsharedMarker()


Synopsis:

Description:

Adds an activation order to the Implementation Repository entry for the unshared server, serverName. This activation order specifies that an invocation for an object whose marker matches the marker (or marker pattern) indicated in markerName should cause the server to be launched using the command, newCommand.

Notes:

OrbixWeb specific.

See Also:



IT_daemon::changeOwnerServer()


Synopsis:

Description:

Changes the ownership of the Implementation Repository entry for the server serverName. The principal (end-user) invoking this operation must be the current owner of the IR entry.

Notes:

OrbixWeb specific.



IT_daemon::deleteDirectory()


Synopsis:

Description:

Removes a registration directory from the Implementation Repository. If deleteChildren is true then server entries and sub-directories are also deleted.

Notes:

OrbixWeb specific.

See Also:



IT_daemon::deleteServer()


Synopsis:

Description:

Deletes the entry for the server, serverName, from the Implementation Repository.

Notes:

OrbixWeb specific.

See Also:



IT_daemon::delGroupsFromServer()


Synopsis:

Description:

Deletes the group(s) specified in groupList from the list of host groups that support the server server. This list is maintained in the server location locator configuration file.

Notes:

OrbixWeb specific.

See Also:



IT_daemon::delHostsFromGroup()


Synopsis:

Description:

Deletes the hosts specified in hostlist from the group, group, in the host groups definition locator configuration file.

Notes:

OrbixWeb specific.

See Also:



IT_daemon::delHostsFromServer()


Synopsis:

Description:

Deletes the hosts specified in hostList from the list of hosts that support the server server in the server location locator configuration file.

Notes:

OrbixWeb specific.

See Also:



IT_daemon::getServer()


Synopsis:

Description:

Gets full information about the Implementation Repository entry for serverName.

Notes:

OrbixWeb specific.



IT_daemon::killServer()


Synopsis:

Description:

Kills a server process. Where there is more than one server process, the marker parameter is used to select between different processes. The marker parameter is required when killing a process in the unshared mode.

Notes:

OrbixWeb specific.



IT_daemon::LaunchStatus


Synopsis:

Description:

Possible values for the LaunchStatus of a server.

Notes:

OrbixWeb specific.



IT_daemon::listActiveServers()


Synopsis:

Description:

Returns a list of active server processes known to the Orbix daemon and includes information about each process.

Notes:

OrbixWeb specific.

See Also:



IT_daemon::listGroupsInServer()


Synopsis:

Description:

Returns a list of the host groups (as listed in the server location locator configuration file) of which the server server is a member.

Notes:

OrbixWeb specific.



IT_daemon::listHostsInGroup()


Synopsis:

Description:

Returns a list of the hosts in the host group, group, as listed in the host groups definition locator configuration file.

Notes:

OrbixWeb specific.



IT_daemon::listHostsInServer()


Synopsis:

Description:

Returns a list of the hosts on which the server server runs as listed in the server location configuration file.

Notes:

OrbixWeb specific.



IT_daemon::listServers()


Synopsis:

Description:

Lists all servers in the Implementation Repository directory subdir.

Notes:

OrbixWeb specific.



IT_daemon::lookUp()


Synopsis:

Description:

Invokes the corresponding lookUp() function on the locator. This is normally the default locator–unless an alternative locator has been installed.

Notes:

OrbixWeb specific.

See Also:



IT_daemon::newDirectory()


Synopsis:

Description:

Creates a new Implementation Repository directory. The name is specified in dirName and may be a new directory or a subdirectory of an existing directory The `/' character is used to indicate a subdirectory–for example, the name "server/banks" is a valid directory name.

Notes:

OrbixWeb specific.

See Also:



IT_daemon::newPerMethodServer()


Synopsis:

Description:

Creates a new entry in the Implementation Repository for the per-method server serverName. The new entry has an activation order for each element of the sequences in methods and launchCommands.

Parameters:



     serverName
    
The name of the server.

     methods
    
A sequence of methods. Each element in the sequence has a corresponding element in the sequence launchCommands.

     launchCommands
    
A sequence of launch commands (the full path name of an executable file). Each element in the sequence has a corresponding element in the sequence methods.

Notes:

OrbixWeb specific.



IT_daemon::newSharedServer()


Synopsis:

Description:

Creates a new Implementation Repository entry for the shared server serverName. The new entry has an activation order for each element of the sequences in markers and launchCommands.

Parameters:



     serverName
    
The name of the server.

     markers
    
A sequence of markers. Each element in the sequence has a corresponding element in the sequence launchCommands.

     launchCommands
    
A sequence of launch commands (the full path name of an executable file and possibly command line switches). Each element in the sequence has a corresponding element in the sequence markers.

     mode_flags
    
Further activation mode details.

0 Multiple-client activation mode.

1 Per-client activation mode.

2 Per-client-process activation mode.

Notes:

OrbixWeb specific.



IT_daemon::newUnSharedServer()


Synopsis:

Description:

Creates a new Implementation Repository entry for the unshared server serverName. The new entry has an activation order for each element of the sequences in markers and launchCommands.

Parameters:



     serverName
    
The name of the server.

     markers
    
A sequence of markers. Each element in the sequence has a corresponding element in the sequence launchCommands.

     launchCommands
    
A sequence of launch commands (the full path name of an executable file and possibly command line switches). Each element in the sequence has a corresponding element in the sequence markers.

     mode_flags
    
Further activation mode details.

0 Multiple-client activation mode.

1 Per-client activation mode.

2 Per-client-process activation mode.

Notes:

OrbixWeb specific.



IT_daemon::removeDirRights()


Synopsis:

Description:

Removes the user or group in userGroup to the list of owners for the directory dirName.

Notes:

OrbixWeb specific.



IT_daemon::removeInvokeRights()


Synopsis:

Description:

Removes the user or group in userGroup from the invoke access control list for server serverName.

Notes:

OrbixWeb specific.

See Also:



IT_daemon::removeInvokeRightsDir()


Synopsis:

Description:

Removes the user or group in userGroup from the invoke access control list for directory dirName.

Notes:

OrbixWeb specific.

See Also:



IT_daemon::removeLaunchRights()


Synopsis:

Description:

Removes the user or group in userGroup from the launch access control list for server serverName.

Notes:

OrbixWeb specific.

See Also:



IT_daemon::removeLaunchRightsDir()


Synopsis:

Description:

Removes the user or group in userGroup from the launch access control list for the directory dirName.

Notes:

OrbixWeb specific.

See Also:



IT_daemon::removeMethod()


Synopsis:

Description:

Removes the activation order for the method (or method pattern) in methodName from the Implementation Repository entry for the per-method server, serverName.

Notes:

OrbixWeb specific.

See Also:



IT_daemon::removeSharedMarker()


Synopsis:

Description:

Removes the activation order for the marker (or marker pattern) in markerName from the Implementation Repository entry for the shared server, serverName.

Notes:

OrbixWeb specific.

See Also:



IT_daemon::removeUnsharedMarker()


Synopsis:

Description:

Removes the activation order for the marker (or marker pattern) in markerName from the Implementation Repository entry for the unshared server, serverName.

Notes:

OrbixWeb specific.

See Also:

IT_daemon::addUnsharedMarker()



IT_daemon::serverDetails


Synopsis:

Description:



     server
    
The name of the server.

     marker
    
The marker (if any).

     principal
    
The name of the principal (end-user) for whom the server was launched. This is null if the server is not a per-client server.

     code
    
The encoding protocol–for example, XDR.

     comms
    
The transport protocol–for example, TCP/IP.

     port
    
The port used by the communications system.

     OSspecific
    
On UNIX, this is the operating system process identifier of the server process.

     status
    
One of the enumerated values, inActive, manualLaunch or automaticLaunch.

The members of the struct are as follows:

Notes:

OrbixWeb specific.

See Also:

IT_daemon::LaunchStatus



IT_daemon::serverExists()


Synopsis:

Description:

Determines whether there is an entry for the server serverName in the Implementation Repository.

Notes:

OrbixWeb specific.



[Roadmap] [Utilities] [Compiling] [Configuration]
[Class Reference] [IR Reference] [Daemon Reference] [IDL Grammar] [System Exceptions]
[Index]