summaryrefslogtreecommitdiff
path: root/cpp/src/IceStorm/OnewaySubscriber.h
blob: 032821f271a35f0e553fbfe9fe12111ce6892a8c (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
// **********************************************************************
//
// Copyright (c) 2001
// MutableRealms, Inc.
// Huntsville, AL, USA
//
// All Rights Reserved
//
// **********************************************************************

#ifndef ONEWAY_SUBSCRIBER_H
#define ONEWAY_SUBSCRIBER_H

#include <IceStorm/Subscriber.h>

namespace IceStorm
{

class OnewaySubscriber : public Subscriber
{
public:

    OnewaySubscriber(const TraceLevelsPtr&, const Ice::ObjectPrx&);
    ~OnewaySubscriber();

    virtual bool persistent() const;
    virtual void unsubscribe();
    virtual void replace();
    virtual void publish(const Event&);

protected:

    // Immutable
    Ice::ObjectPrx _obj;
};

} // End namespace IceStorm

#endif