IceStorm.TopicManagerPrxHelper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of icestorm-compat Show documentation
Show all versions of icestorm-compat Show documentation
Publish-subscribe event distribution service
// **********************************************************************
//
// Copyright (c) 2003-2018 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.
//
// **********************************************************************
//
// Ice version 3.7.1
//
//
//
// Generated from file `IceStorm.ice'
//
// Warning: do not edit this file.
//
//
//
package IceStorm;
/**
* Provides type-specific helper functions.
**/
public final class TopicManagerPrxHelper extends Ice.ObjectPrxHelperBase implements TopicManagerPrx
{
private static final String _create_name = "create";
public TopicPrx create(String name)
throws TopicExists
{
return _iceI_create(name, null, false);
}
public TopicPrx create(String name, java.util.Map context)
throws TopicExists
{
return _iceI_create(name, context, true);
}
private TopicPrx _iceI_create(String iceP_name, java.util.Map context, boolean explicitCtx)
throws TopicExists
{
_checkTwowayOnly(_create_name);
return end_create(_iceI_begin_create(iceP_name, context, explicitCtx, true, null));
}
public Ice.AsyncResult begin_create(String name)
{
return _iceI_begin_create(name, null, false, false, null);
}
public Ice.AsyncResult begin_create(String name, java.util.Map context)
{
return _iceI_begin_create(name, context, true, false, null);
}
public Ice.AsyncResult begin_create(String name, Ice.Callback cb)
{
return _iceI_begin_create(name, null, false, false, cb);
}
public Ice.AsyncResult begin_create(String name, java.util.Map context, Ice.Callback cb)
{
return _iceI_begin_create(name, context, true, false, cb);
}
public Ice.AsyncResult begin_create(String name, Callback_TopicManager_create cb)
{
return _iceI_begin_create(name, null, false, false, cb);
}
public Ice.AsyncResult begin_create(String name, java.util.Map context, Callback_TopicManager_create cb)
{
return _iceI_begin_create(name, context, true, false, cb);
}
public Ice.AsyncResult begin_create(String name,
IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb)
{
return _iceI_begin_create(name, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
}
public Ice.AsyncResult begin_create(String name,
IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_create(name, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
}
public Ice.AsyncResult begin_create(String name,
java.util.Map context,
IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb)
{
return _iceI_begin_create(name, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
}
public Ice.AsyncResult begin_create(String name,
java.util.Map context,
IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_create(name, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
}
private Ice.AsyncResult _iceI_begin_create(String iceP_name,
java.util.Map context,
boolean explicitCtx,
boolean synchronous,
IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_create(iceP_name,
context,
explicitCtx,
synchronous,
new IceInternal.Functional_TwowayCallbackArg1UE(responseCb, userExceptionCb, exceptionCb, sentCb)
{
public final void _iceCompleted(Ice.AsyncResult result)
{
TopicManagerPrxHelper._iceI_create_completed(this, result);
}
});
}
private Ice.AsyncResult _iceI_begin_create(String iceP_name,
java.util.Map context,
boolean explicitCtx,
boolean synchronous,
IceInternal.CallbackBase cb)
{
_checkAsyncTwowayOnly(_create_name);
IceInternal.OutgoingAsync result = getOutgoingAsync(_create_name, cb);
try
{
result.prepare(_create_name, Ice.OperationMode.Normal, context, explicitCtx, synchronous);
Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
ostr.writeString(iceP_name);
result.endWriteParams();
result.invoke();
}
catch(Ice.Exception ex)
{
result.abort(ex);
}
return result;
}
public TopicPrx end_create(Ice.AsyncResult iresult)
throws TopicExists
{
IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _create_name);
try
{
if(!result_.waitForResponseOrUserEx())
{
try
{
result_.throwUserException();
}
catch(TopicExists ex_)
{
throw ex_;
}
catch(Ice.UserException ex_)
{
throw new Ice.UnknownUserException(ex_.ice_id(), ex_);
}
}
Ice.InputStream istr_ = result_.startReadParams();
TopicPrx ret_;
ret_ = TopicPrxHelper.read(istr_);
result_.endReadParams();
return ret_;
}
finally
{
if(result_ != null)
{
result_.cacheMessageBuffers();
}
}
}
static public void _iceI_create_completed(Ice.TwowayCallbackArg1UE cb, Ice.AsyncResult result)
{
IceStorm.TopicManagerPrx _proxy = (IceStorm.TopicManagerPrx)result.getProxy();
TopicPrx ret = null;
try
{
ret = _proxy.end_create(result);
}
catch(Ice.UserException ex)
{
cb.exception(ex);
return;
}
catch(Ice.LocalException ex)
{
cb.exception(ex);
return;
}
catch(Ice.SystemException ex)
{
cb.exception(ex);
return;
}
cb.response(ret);
}
private static final String _getSliceChecksums_name = "getSliceChecksums";
public java.util.Map getSliceChecksums()
{
return _iceI_getSliceChecksums(null, false);
}
public java.util.Map getSliceChecksums(java.util.Map context)
{
return _iceI_getSliceChecksums(context, true);
}
private java.util.Map _iceI_getSliceChecksums(java.util.Map context, boolean explicitCtx)
{
_checkTwowayOnly(_getSliceChecksums_name);
return end_getSliceChecksums(_iceI_begin_getSliceChecksums(context, explicitCtx, true, null));
}
public Ice.AsyncResult begin_getSliceChecksums()
{
return _iceI_begin_getSliceChecksums(null, false, false, null);
}
public Ice.AsyncResult begin_getSliceChecksums(java.util.Map context)
{
return _iceI_begin_getSliceChecksums(context, true, false, null);
}
public Ice.AsyncResult begin_getSliceChecksums(Ice.Callback cb)
{
return _iceI_begin_getSliceChecksums(null, false, false, cb);
}
public Ice.AsyncResult begin_getSliceChecksums(java.util.Map context, Ice.Callback cb)
{
return _iceI_begin_getSliceChecksums(context, true, false, cb);
}
public Ice.AsyncResult begin_getSliceChecksums(Callback_TopicManager_getSliceChecksums cb)
{
return _iceI_begin_getSliceChecksums(null, false, false, cb);
}
public Ice.AsyncResult begin_getSliceChecksums(java.util.Map context, Callback_TopicManager_getSliceChecksums cb)
{
return _iceI_begin_getSliceChecksums(context, true, false, cb);
}
public Ice.AsyncResult begin_getSliceChecksums(IceInternal.Functional_GenericCallback1> responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb)
{
return _iceI_begin_getSliceChecksums(null, false, false, responseCb, exceptionCb, null);
}
public Ice.AsyncResult begin_getSliceChecksums(IceInternal.Functional_GenericCallback1> responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_getSliceChecksums(null, false, false, responseCb, exceptionCb, sentCb);
}
public Ice.AsyncResult begin_getSliceChecksums(java.util.Map context,
IceInternal.Functional_GenericCallback1> responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb)
{
return _iceI_begin_getSliceChecksums(context, true, false, responseCb, exceptionCb, null);
}
public Ice.AsyncResult begin_getSliceChecksums(java.util.Map context,
IceInternal.Functional_GenericCallback1> responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_getSliceChecksums(context, true, false, responseCb, exceptionCb, sentCb);
}
private Ice.AsyncResult _iceI_begin_getSliceChecksums(java.util.Map context,
boolean explicitCtx,
boolean synchronous,
IceInternal.Functional_GenericCallback1> responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_getSliceChecksums(context,
explicitCtx,
synchronous,
new IceInternal.Functional_TwowayCallbackArg1>(responseCb, exceptionCb, sentCb)
{
public final void _iceCompleted(Ice.AsyncResult result)
{
TopicManagerPrxHelper._iceI_getSliceChecksums_completed(this, result);
}
});
}
private Ice.AsyncResult _iceI_begin_getSliceChecksums(java.util.Map context,
boolean explicitCtx,
boolean synchronous,
IceInternal.CallbackBase cb)
{
_checkAsyncTwowayOnly(_getSliceChecksums_name);
IceInternal.OutgoingAsync result = getOutgoingAsync(_getSliceChecksums_name, cb);
try
{
result.prepare(_getSliceChecksums_name, Ice.OperationMode.Nonmutating, context, explicitCtx, synchronous);
result.writeEmptyParams();
result.invoke();
}
catch(Ice.Exception ex)
{
result.abort(ex);
}
return result;
}
public java.util.Map end_getSliceChecksums(Ice.AsyncResult iresult)
{
IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _getSliceChecksums_name);
try
{
if(!result_.waitForResponseOrUserEx())
{
try
{
result_.throwUserException();
}
catch(Ice.UserException ex_)
{
throw new Ice.UnknownUserException(ex_.ice_id(), ex_);
}
}
Ice.InputStream istr_ = result_.startReadParams();
java.util.Map ret_;
ret_ = Ice.SliceChecksumDictHelper.read(istr_);
result_.endReadParams();
return ret_;
}
finally
{
if(result_ != null)
{
result_.cacheMessageBuffers();
}
}
}
static public void _iceI_getSliceChecksums_completed(Ice.TwowayCallbackArg1> cb, Ice.AsyncResult result)
{
IceStorm.TopicManagerPrx _proxy = (IceStorm.TopicManagerPrx)result.getProxy();
java.util.Map ret = null;
try
{
ret = _proxy.end_getSliceChecksums(result);
}
catch(Ice.LocalException ex)
{
cb.exception(ex);
return;
}
catch(Ice.SystemException ex)
{
cb.exception(ex);
return;
}
cb.response(ret);
}
private static final String _retrieve_name = "retrieve";
public TopicPrx retrieve(String name)
throws NoSuchTopic
{
return _iceI_retrieve(name, null, false);
}
public TopicPrx retrieve(String name, java.util.Map context)
throws NoSuchTopic
{
return _iceI_retrieve(name, context, true);
}
private TopicPrx _iceI_retrieve(String iceP_name, java.util.Map context, boolean explicitCtx)
throws NoSuchTopic
{
_checkTwowayOnly(_retrieve_name);
return end_retrieve(_iceI_begin_retrieve(iceP_name, context, explicitCtx, true, null));
}
public Ice.AsyncResult begin_retrieve(String name)
{
return _iceI_begin_retrieve(name, null, false, false, null);
}
public Ice.AsyncResult begin_retrieve(String name, java.util.Map context)
{
return _iceI_begin_retrieve(name, context, true, false, null);
}
public Ice.AsyncResult begin_retrieve(String name, Ice.Callback cb)
{
return _iceI_begin_retrieve(name, null, false, false, cb);
}
public Ice.AsyncResult begin_retrieve(String name, java.util.Map context, Ice.Callback cb)
{
return _iceI_begin_retrieve(name, context, true, false, cb);
}
public Ice.AsyncResult begin_retrieve(String name, Callback_TopicManager_retrieve cb)
{
return _iceI_begin_retrieve(name, null, false, false, cb);
}
public Ice.AsyncResult begin_retrieve(String name, java.util.Map context, Callback_TopicManager_retrieve cb)
{
return _iceI_begin_retrieve(name, context, true, false, cb);
}
public Ice.AsyncResult begin_retrieve(String name,
IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb)
{
return _iceI_begin_retrieve(name, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
}
public Ice.AsyncResult begin_retrieve(String name,
IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_retrieve(name, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
}
public Ice.AsyncResult begin_retrieve(String name,
java.util.Map context,
IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb)
{
return _iceI_begin_retrieve(name, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
}
public Ice.AsyncResult begin_retrieve(String name,
java.util.Map context,
IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_retrieve(name, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
}
private Ice.AsyncResult _iceI_begin_retrieve(String iceP_name,
java.util.Map context,
boolean explicitCtx,
boolean synchronous,
IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_retrieve(iceP_name,
context,
explicitCtx,
synchronous,
new IceInternal.Functional_TwowayCallbackArg1UE(responseCb, userExceptionCb, exceptionCb, sentCb)
{
public final void _iceCompleted(Ice.AsyncResult result)
{
TopicManagerPrxHelper._iceI_retrieve_completed(this, result);
}
});
}
private Ice.AsyncResult _iceI_begin_retrieve(String iceP_name,
java.util.Map context,
boolean explicitCtx,
boolean synchronous,
IceInternal.CallbackBase cb)
{
_checkAsyncTwowayOnly(_retrieve_name);
IceInternal.OutgoingAsync result = getOutgoingAsync(_retrieve_name, cb);
try
{
result.prepare(_retrieve_name, Ice.OperationMode.Nonmutating, context, explicitCtx, synchronous);
Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
ostr.writeString(iceP_name);
result.endWriteParams();
result.invoke();
}
catch(Ice.Exception ex)
{
result.abort(ex);
}
return result;
}
public TopicPrx end_retrieve(Ice.AsyncResult iresult)
throws NoSuchTopic
{
IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _retrieve_name);
try
{
if(!result_.waitForResponseOrUserEx())
{
try
{
result_.throwUserException();
}
catch(NoSuchTopic ex_)
{
throw ex_;
}
catch(Ice.UserException ex_)
{
throw new Ice.UnknownUserException(ex_.ice_id(), ex_);
}
}
Ice.InputStream istr_ = result_.startReadParams();
TopicPrx ret_;
ret_ = TopicPrxHelper.read(istr_);
result_.endReadParams();
return ret_;
}
finally
{
if(result_ != null)
{
result_.cacheMessageBuffers();
}
}
}
static public void _iceI_retrieve_completed(Ice.TwowayCallbackArg1UE cb, Ice.AsyncResult result)
{
IceStorm.TopicManagerPrx _proxy = (IceStorm.TopicManagerPrx)result.getProxy();
TopicPrx ret = null;
try
{
ret = _proxy.end_retrieve(result);
}
catch(Ice.UserException ex)
{
cb.exception(ex);
return;
}
catch(Ice.LocalException ex)
{
cb.exception(ex);
return;
}
catch(Ice.SystemException ex)
{
cb.exception(ex);
return;
}
cb.response(ret);
}
private static final String _retrieveAll_name = "retrieveAll";
public java.util.Map retrieveAll()
{
return _iceI_retrieveAll(null, false);
}
public java.util.Map retrieveAll(java.util.Map context)
{
return _iceI_retrieveAll(context, true);
}
private java.util.Map _iceI_retrieveAll(java.util.Map context, boolean explicitCtx)
{
_checkTwowayOnly(_retrieveAll_name);
return end_retrieveAll(_iceI_begin_retrieveAll(context, explicitCtx, true, null));
}
public Ice.AsyncResult begin_retrieveAll()
{
return _iceI_begin_retrieveAll(null, false, false, null);
}
public Ice.AsyncResult begin_retrieveAll(java.util.Map context)
{
return _iceI_begin_retrieveAll(context, true, false, null);
}
public Ice.AsyncResult begin_retrieveAll(Ice.Callback cb)
{
return _iceI_begin_retrieveAll(null, false, false, cb);
}
public Ice.AsyncResult begin_retrieveAll(java.util.Map context, Ice.Callback cb)
{
return _iceI_begin_retrieveAll(context, true, false, cb);
}
public Ice.AsyncResult begin_retrieveAll(Callback_TopicManager_retrieveAll cb)
{
return _iceI_begin_retrieveAll(null, false, false, cb);
}
public Ice.AsyncResult begin_retrieveAll(java.util.Map context, Callback_TopicManager_retrieveAll cb)
{
return _iceI_begin_retrieveAll(context, true, false, cb);
}
public Ice.AsyncResult begin_retrieveAll(IceInternal.Functional_GenericCallback1> responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb)
{
return _iceI_begin_retrieveAll(null, false, false, responseCb, exceptionCb, null);
}
public Ice.AsyncResult begin_retrieveAll(IceInternal.Functional_GenericCallback1> responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_retrieveAll(null, false, false, responseCb, exceptionCb, sentCb);
}
public Ice.AsyncResult begin_retrieveAll(java.util.Map context,
IceInternal.Functional_GenericCallback1> responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb)
{
return _iceI_begin_retrieveAll(context, true, false, responseCb, exceptionCb, null);
}
public Ice.AsyncResult begin_retrieveAll(java.util.Map context,
IceInternal.Functional_GenericCallback1> responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_retrieveAll(context, true, false, responseCb, exceptionCb, sentCb);
}
private Ice.AsyncResult _iceI_begin_retrieveAll(java.util.Map context,
boolean explicitCtx,
boolean synchronous,
IceInternal.Functional_GenericCallback1> responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_retrieveAll(context,
explicitCtx,
synchronous,
new IceInternal.Functional_TwowayCallbackArg1>(responseCb, exceptionCb, sentCb)
{
public final void _iceCompleted(Ice.AsyncResult result)
{
TopicManagerPrxHelper._iceI_retrieveAll_completed(this, result);
}
});
}
private Ice.AsyncResult _iceI_begin_retrieveAll(java.util.Map context,
boolean explicitCtx,
boolean synchronous,
IceInternal.CallbackBase cb)
{
_checkAsyncTwowayOnly(_retrieveAll_name);
IceInternal.OutgoingAsync result = getOutgoingAsync(_retrieveAll_name, cb);
try
{
result.prepare(_retrieveAll_name, Ice.OperationMode.Nonmutating, context, explicitCtx, synchronous);
result.writeEmptyParams();
result.invoke();
}
catch(Ice.Exception ex)
{
result.abort(ex);
}
return result;
}
public java.util.Map end_retrieveAll(Ice.AsyncResult iresult)
{
IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _retrieveAll_name);
try
{
if(!result_.waitForResponseOrUserEx())
{
try
{
result_.throwUserException();
}
catch(Ice.UserException ex_)
{
throw new Ice.UnknownUserException(ex_.ice_id(), ex_);
}
}
Ice.InputStream istr_ = result_.startReadParams();
java.util.Map ret_;
ret_ = TopicDictHelper.read(istr_);
result_.endReadParams();
return ret_;
}
finally
{
if(result_ != null)
{
result_.cacheMessageBuffers();
}
}
}
static public void _iceI_retrieveAll_completed(Ice.TwowayCallbackArg1> cb, Ice.AsyncResult result)
{
IceStorm.TopicManagerPrx _proxy = (IceStorm.TopicManagerPrx)result.getProxy();
java.util.Map ret = null;
try
{
ret = _proxy.end_retrieveAll(result);
}
catch(Ice.LocalException ex)
{
cb.exception(ex);
return;
}
catch(Ice.SystemException ex)
{
cb.exception(ex);
return;
}
cb.response(ret);
}
/**
* Contacts the remote server to verify that the object implements this type.
* Raises a local exception if a communication error occurs.
* @param obj The untyped proxy.
* @return A proxy for this type, or null if the object does not support this type.
**/
public static TopicManagerPrx checkedCast(Ice.ObjectPrx obj)
{
return checkedCastImpl(obj, ice_staticId(), TopicManagerPrx.class, TopicManagerPrxHelper.class);
}
/**
* Contacts the remote server to verify that the object implements this type.
* Raises a local exception if a communication error occurs.
* @param obj The untyped proxy.
* @param context The Context map to send with the invocation.
* @return A proxy for this type, or null if the object does not support this type.
**/
public static TopicManagerPrx checkedCast(Ice.ObjectPrx obj, java.util.Map context)
{
return checkedCastImpl(obj, context, ice_staticId(), TopicManagerPrx.class, TopicManagerPrxHelper.class);
}
/**
* Contacts the remote server to verify that a facet of the object implements this type.
* Raises a local exception if a communication error occurs.
* @param obj The untyped proxy.
* @param facet The name of the desired facet.
* @return A proxy for this type, or null if the object does not support this type.
**/
public static TopicManagerPrx checkedCast(Ice.ObjectPrx obj, String facet)
{
return checkedCastImpl(obj, facet, ice_staticId(), TopicManagerPrx.class, TopicManagerPrxHelper.class);
}
/**
* Contacts the remote server to verify that a facet of the object implements this type.
* Raises a local exception if a communication error occurs.
* @param obj The untyped proxy.
* @param facet The name of the desired facet.
* @param context The Context map to send with the invocation.
* @return A proxy for this type, or null if the object does not support this type.
**/
public static TopicManagerPrx checkedCast(Ice.ObjectPrx obj, String facet, java.util.Map context)
{
return checkedCastImpl(obj, facet, context, ice_staticId(), TopicManagerPrx.class, TopicManagerPrxHelper.class);
}
/**
* Downcasts the given proxy to this type without contacting the remote server.
* @param obj The untyped proxy.
* @return A proxy for this type.
**/
public static TopicManagerPrx uncheckedCast(Ice.ObjectPrx obj)
{
return uncheckedCastImpl(obj, TopicManagerPrx.class, TopicManagerPrxHelper.class);
}
/**
* Downcasts the given proxy to this type without contacting the remote server.
* @param obj The untyped proxy.
* @param facet The name of the desired facet.
* @return A proxy for this type.
**/
public static TopicManagerPrx uncheckedCast(Ice.ObjectPrx obj, String facet)
{
return uncheckedCastImpl(obj, facet, TopicManagerPrx.class, TopicManagerPrxHelper.class);
}
private static final String[] _ids =
{
"::Ice::Object",
"::IceStorm::TopicManager"
};
/**
* Provides the Slice type ID of this type.
* @return The Slice type ID.
**/
public static String ice_staticId()
{
return _ids[1];
}
public static void write(Ice.OutputStream ostr, TopicManagerPrx v)
{
ostr.writeProxy(v);
}
public static TopicManagerPrx read(Ice.InputStream istr)
{
Ice.ObjectPrx proxy = istr.readProxy();
if(proxy != null)
{
TopicManagerPrxHelper result = new TopicManagerPrxHelper();
result._copyFrom(proxy);
return result;
}
return null;
}
public static final long serialVersionUID = 0L;
}