summaryrefslogtreecommitdiff
path: root/modules/CIAO/ciao/Servants/Port_Activator.cpp
blob: 68e253dea1350fe9379ad9d11bbac3708094ab96 (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
#include "Port_Activator.h"

ACE_RCSID (ciao,
           Servant_Activator,
           "$Id$")

namespace CIAO
{
  Port_Activator_i::Port_Activator_i (const char *oid,
                                      const char *name,
                                      Port_Activator_Types::Type t)
    : oid_ (oid),
      name_ (name),
      t_ (t)
  {
  }

  Port_Activator_i::~Port_Activator_i (void)
  {
  }

  char*
  Port_Activator_i::oid (void)
  {
    return CORBA::string_dup(this->oid_.in ());
  }

  void
  Port_Activator_i::oid (const char* oid)
  {
    this->oid_ = oid;
  }

  char*
  Port_Activator_i::name (void)
  {
    return CORBA::string_dup(this->name_.in ());
  }
}