Glacier2._SessionManagerTie Maven / Gradle / Ivy
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.3
//
//
//
// Generated from file `Session.ice'
//
// Warning: do not edit this file.
//
//
//
package Glacier2;
public class _SessionManagerTie extends _SessionManagerDisp implements Ice.TieBase
{
public _SessionManagerTie()
{
}
public _SessionManagerTie(_SessionManagerOperations delegate)
{
_ice_delegate = delegate;
}
public java.lang.Object ice_delegate()
{
return _ice_delegate;
}
public void ice_delegate(java.lang.Object delegate)
{
_ice_delegate = (_SessionManagerOperations)delegate;
}
public boolean equals(java.lang.Object rhs)
{
if(this == rhs)
{
return true;
}
if(!(rhs instanceof _SessionManagerTie))
{
return false;
}
return _ice_delegate.equals(((_SessionManagerTie)rhs)._ice_delegate);
}
public int hashCode()
{
return _ice_delegate.hashCode();
}
public SessionPrx create(String userId, SessionControlPrx control, Ice.Current current)
throws CannotCreateSessionException
{
return _ice_delegate.create(userId, control, current);
}
private _SessionManagerOperations _ice_delegate;
public static final long serialVersionUID = 6097465442640311413L;
}