Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

# Server_init.h File Reference

`#include "CIAO_Server_Export.h"`

Include dependency graph for Server_init.h:

This graph shows which files directly or indirectly include this file:

## Namespaces
namespace | CORBA
namespace | CIAO
namespace | CIAO::Utility
## Functions
CIAO_SERVER_Export int | Server_init (CORBA::ORB_ptr o)
CIAO_SERVER_Export int | write_IOR (const char *pathname, const char *IOR)

## Detailed Description

Initializing CIAO Server side ORB, if they need to. I'm also puting some utilities functions here.

Author:
  Nanbor Wang <nanbor@cs.wustl.edu>

## Function Documentation

int CIAO::Server_init | ( | CORBA::ORB_ptr | o | ) |

| The initialize routine for any server that need to access component. This routine now simply registers various valuetype factories defined in CIAO_Component.pidl. Currently, this method should be call right after ORB initialization but we should try to register these stuff automatically.

int CIAO::Utility::write_IOR | ( | const char * | pathname,
|  | const char * | IOR
| ) |

| Write a string (usually a stringified IOR) to a file designated by the `pathname`. The file named will always get overwritten.