ControlAgentClientMethodsPOATie.java 1.71 KB
/*
 * Decompiled with CFR 0_118.
 */
package com.adobe.service;

import com.adobe.service.ControlAgentClientMethods;
import com.adobe.service.ControlAgentClientMethodsHelper;
import com.adobe.service.ControlAgentClientMethodsOperations;
import com.adobe.service.ControlAgentClientMethodsPOA;
import org.omg.CORBA.ORB;
import org.omg.CORBA.Object;
import org.omg.PortableServer.POA;

public class ControlAgentClientMethodsPOATie
extends ControlAgentClientMethodsPOA {
    private ControlAgentClientMethodsOperations _delegate;
    private POA _poa;

    public ControlAgentClientMethodsPOATie(ControlAgentClientMethodsOperations delegate) {
        this._delegate = delegate;
    }

    public ControlAgentClientMethodsPOATie(ControlAgentClientMethodsOperations delegate, POA poa) {
        this._delegate = delegate;
        this._poa = poa;
    }

    public ControlAgentClientMethods _this() {
        return ControlAgentClientMethodsHelper.narrow(this._this_object());
    }

    public ControlAgentClientMethods _this(ORB orb) {
        return ControlAgentClientMethodsHelper.narrow(this._this_object(orb));
    }

    public ControlAgentClientMethodsOperations _delegate() {
        return this._delegate;
    }

    public void _delegate(ControlAgentClientMethodsOperations delegate) {
        this._delegate = delegate;
    }

    public POA _default_POA() {
        if (this._poa != null) {
            return this._poa;
        }
        return super._default_POA();
    }

    public void done(boolean success) {
        this._delegate.done(success);
    }

    public boolean prepare() {
        return this._delegate.prepare();
    }

    public Object newRequestHandler() {
        return this._delegate.newRequestHandler();
    }
}