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

# Server_init.cpp File Reference

`#include "Server_init.h"`
`#include "CIAO_common.h"`
`#include "CCM_ComponentC.h"`
`#include "Cookies.h"`
`#include "ace/OS_NS_stdio.h"`

Include dependency graph for Server_init.cpp:

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

## Function Documentation

CIAO_SERVER_Export 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.

CIAO_SERVER_Export 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.