Ice.UnknownSlicedObject Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ice Show documentation
Show all versions of ice Show documentation
Ice is a comprehensive RPC framework that helps you build distributed applications with minimal effort using familiar object-oriented idioms
// **********************************************************************
//
// Copyright (c) 2003-2017 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
package Ice;
/**
* Unknown sliced object holds an instance of unknown type.
**/
public final class UnknownSlicedObject extends ObjectImpl
{
/**
* Instantiates the class for an Ice object having the given Slice type.
*
* @param unknownTypeId The Slice type ID of the unknown object.
**/
public
UnknownSlicedObject(String unknownTypeId)
{
_unknownTypeId = unknownTypeId;
}
/**
* Determine the Slice type ID associated with this object.
*
* @return The type ID.
**/
public String
getUnknownTypeId()
{
return _unknownTypeId;
}
@Override
public void
__write(IceInternal.BasicStream __os)
{
__os.startWriteObject(_slicedData);
__os.endWriteObject();
}
@Override
public void
__read(IceInternal.BasicStream __is)
{
__is.startReadObject();
_slicedData = __is.endReadObject(true);
}
private final String _unknownTypeId;
private SlicedData _slicedData;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy