summaryrefslogtreecommitdiff
path: root/csharp/test/Ice/background/BackgroundI.cs
blob: 39c210206e29a29b99ddf6585c9b14815cc5c7b9 (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
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//

using Test;

internal class BackgroundI : BackgroundDisp_
{
    public override void op(Ice.Current current)
    {
        _controller.checkCallPause(current);
    }

    public override void opWithPayload(byte[] seq, Ice.Current current)
    {
        _controller.checkCallPause(current);
    }

    public override void shutdown(Ice.Current current)
    {
        current.adapter.getCommunicator().shutdown();
    }

    internal BackgroundI(BackgroundControllerI controller)
    {
        _controller = controller;
    }

    private BackgroundControllerI _controller;
}