summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/pickle/ServantFactory.cpp
blob: 906db19f5cd695f2893956d557dd338e91a147a0 (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
// **********************************************************************
//
// Copyright (c) 2001
// MutableRealms, Inc.
// Huntsville, AL, USA
//
// All Rights Reserved
//
// **********************************************************************

#include <Ice/Ice.h>
#include <ServantFactory.h>
#include <Pickle.h>

using namespace std;

Ice::ObjectPtr
ServantFactory::create(const string& type)
{
    assert(type == "::Persistent");
    return new Persistent;
}

void
ServantFactory::destroy()
{
    // Nothing to do
}