IceGrid._SessionTie Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of icegrid-compat Show documentation
Show all versions of icegrid-compat Show documentation
Locate, deploy, and manage Ice servers
//
// 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;
}