Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef TAO_COIOP_FACTORY_H
00015 #define TAO_COIOP_FACTORY_H
00016
00017 #include "ace/pre.h"
00018
00019 #include "tao/orbconf.h"
00020
00021 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00022 # pragma once
00023 #endif
00024
00025 #if defined (TAO_HAS_COIOP) && (TAO_HAS_COIOP != 0)
00026
00027 #include "tao/Strategies/strategies_export.h"
00028 #include "tao/Protocol_Factory.h"
00029 #include "ace/Service_Config.h"
00030
00031 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00032
00033 class TAO_Acceptor;
00034 class TAO_Connector;
00035
00036 class TAO_Strategies_Export TAO_COIOP_Protocol_Factory
00037 : public TAO_Protocol_Factory
00038 {
00039 public:
00040
00041 TAO_COIOP_Protocol_Factory (void);
00042
00043
00044 virtual ~TAO_COIOP_Protocol_Factory (void);
00045
00046
00047
00048 virtual int init (int argc, ACE_TCHAR* argv[]);
00049
00050
00051 virtual int match_prefix (const ACE_CString &prefix);
00052
00053
00054 virtual const char *prefix (void) const;
00055
00056
00057
00058 virtual char options_delimiter (void) const;
00059
00060
00061
00062
00063
00064
00065
00066 virtual TAO_Acceptor *make_acceptor (void);
00067 virtual TAO_Connector *make_connector (void);
00068 virtual int requires_explicit_endpoint (void) const;
00069
00070 };
00071
00072
00073 ACE_STATIC_SVC_DECLARE (TAO_COIOP_Protocol_Factory)
00074 ACE_FACTORY_DECLARE (TAO_Strategies, TAO_COIOP_Protocol_Factory)
00075
00076 TAO_END_VERSIONED_NAMESPACE_DECL
00077
00078 #endif
00079
00080 #include "ace/post.h"
00081
00082 #endif