summaryrefslogtreecommitdiff
path: root/TAO/tao/Protocol_Factory.cpp
blob: 42d4eae11d63b108d384648524c12ff188d606f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
// $Id$

#include "Protocol_Factory.h"
#include "ace/Dynamic_Service.h"

ACE_RCSID (tao, 
           Protocol_Factory, 
           "$Id$")

static const char prefix_[] = "\0";

TAO_Protocol_Factory::TAO_Protocol_Factory (CORBA::ULong tag)
  : tag_ (tag)
{
}

TAO_Protocol_Factory::~TAO_Protocol_Factory (void)
{
}

CORBA::ULong
TAO_Protocol_Factory::tag (void) const
{
  return this->tag_;
}

int
TAO_Protocol_Factory::init (int /* argc */,
                            ACE_TCHAR * /* argv */ [])
{
 return -1;
}

TAO_Acceptor *
TAO_Protocol_Factory::make_acceptor (void)
{
  return 0;
}

TAO_Connector *
TAO_Protocol_Factory::make_connector (void)
{
  return 0;
}

int
TAO_Protocol_Factory::match_prefix (const ACE_CString & /* prefix */)
{
  return 0;
}

const char *
TAO_Protocol_Factory::prefix (void) const
{
  return ::prefix_;
}

char
TAO_Protocol_Factory::options_delimiter (void) const
{
  return '\0';
}


#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)

template class ACE_Dynamic_Service<TAO_Protocol_Factory>;

#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)

#pragma instantiate ACE_Dynamic_Service<TAO_Protocol_Factory>

#endif