Glacier2.SessionHolder 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 final class SessionHolder extends Ice.ObjectHolderBase
{
public
SessionHolder()
{
}
public
SessionHolder(Session value)
{
this.value = value;
}
public void
valueReady(Ice.Object v)
{
if(v == null || v instanceof Session)
{
value = (Session)v;
}
else
{
IceInternal.Ex.throwUOE(type(), v);
}
}
public String
type()
{
return _SessionDisp.ice_staticId();
}
}