diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2000-02-16 16:41:45 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2000-02-16 16:41:45 +0000 |
commit | 0a3663f73e2a10f5ec2f7b68cd2e58c71dcd90d1 (patch) | |
tree | 393c35d094d0713bdcb7c52c0dca96bdbd11bb78 /TAO/tao/default_resource.cpp | |
parent | 943358fe1aff235f52e242f44a1f23f48725bd21 (diff) | |
download | ATCD-0a3663f73e2a10f5ec2f7b68cd2e58c71dcd90d1.tar.gz |
ChangeLogTag:Wed Feb 16 08:36:01 2000 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/tao/default_resource.cpp')
-rw-r--r-- | TAO/tao/default_resource.cpp | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/TAO/tao/default_resource.cpp b/TAO/tao/default_resource.cpp index 528d42bed87..b8922a17597 100644 --- a/TAO/tao/default_resource.cpp +++ b/TAO/tao/default_resource.cpp @@ -336,12 +336,28 @@ TAO_Default_Resource_Factory::init_protocol_factories (void) // You do *NOT* need modify this code to add your own protocol, // instead simply add the following to your svc.conf file: // - // dynamic PN_Factory Service_Object * LIB:_make_PN_Protocol_Factory() "" - // static Resource_Factory "-ORBProtocolFactory PN_Factory" + // dynamic PP_Factory Service_Object * LIB:_make_PP_Protocol_Factory() "" + // static Resource_Factory "-ORBProtocolFactory PP_Factory" // - // where PN is the name of your protocol and LIB is the base - // name of the shared library that implements the protocol. + // where "PP_Factory" is the name of your protocol, i.e. the + // second argument passed to the ACE_STATIC_SVC_DEFINE macro: // + // ACE_STATIC_SVC_DEFINE (PP_Protocol_Factory, + // ASYS_TEXT ("PP_Factory"), ...) + // + // "PP_Protocol_Factory" is the name of your protocol factory + // class. A "_make_" is prepended to your protocol factory + // class name by the ACE_FACTORY_DECLARE macro. The resulting + // factory function "_make_PP_Protocol_Factory()" is what should + // be used in the "dynamic" line in your svc.conf file. + // + // LIB is the base name of the shared library that implements + // the protocol. The directory containing your library must be + // in your library search path, typically defined by the + // LD_LIBRARY_PATH environment variable on UNIX systems, and/or + // the `/etc/ld.so.conf' file on some UNIX systems. Remember to + // run "ldconfig" if you modify `/etc/ld.so.conf'. + TAO_Protocol_Factory *protocol_factory = 0; TAO_Protocol_Item *item = 0; |