All Downloads are FREE. Search and download functionalities are using the official Maven repository.

IceGrid._SessionTie Maven / Gradle / Ivy

There is a newer version: 3.7.10
Show newest version
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.3
//
// 
//
// Generated from file `Session.ice'
//
// Warning: do not edit this file.
//
// 
//

package IceGrid;

public class _SessionTie extends _SessionDisp implements Ice.TieBase
{
    public _SessionTie()
    {
    }

    public _SessionTie(_SessionOperations delegate)
    {
        _ice_delegate = delegate;
    }

    public java.lang.Object ice_delegate()
    {
        return _ice_delegate;
    }

    public void ice_delegate(java.lang.Object delegate)
    {
        _ice_delegate = (_SessionOperations)delegate;
    }

    public boolean equals(java.lang.Object rhs)
    {
        if(this == rhs)
        {
            return true;
        }
        if(!(rhs instanceof _SessionTie))
        {
            return false;
        }

        return _ice_delegate.equals(((_SessionTie)rhs)._ice_delegate);
    }

    public int hashCode()
    {
        return _ice_delegate.hashCode();
    }

    public void destroy(Ice.Current current)
    {
        _ice_delegate.destroy(current);
    }

    public void keepAlive(Ice.Current current)
    {
        _ice_delegate.keepAlive(current);
    }

    public void allocateObjectById_async(AMD_Session_allocateObjectById cb, Ice.Identity id, Ice.Current current)
        throws AllocationException,
               ObjectNotRegisteredException
    {
        _ice_delegate.allocateObjectById_async(cb, id, current);
    }

    public void allocateObjectByType_async(AMD_Session_allocateObjectByType cb, String type, Ice.Current current)
        throws AllocationException
    {
        _ice_delegate.allocateObjectByType_async(cb, type, current);
    }

    public void releaseObject(Ice.Identity id, Ice.Current current)
        throws AllocationException,
               ObjectNotRegisteredException
    {
        _ice_delegate.releaseObject(id, current);
    }

    public void setAllocationTimeout(int timeout, Ice.Current current)
    {
        _ice_delegate.setAllocationTimeout(timeout, current);
    }

    private _SessionOperations _ice_delegate;

    public static final long serialVersionUID = 3426390022898779727L;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy