本文整理了Java中org.omg.CORBA.Any.extract_long()
方法的一些代码示例,展示了Any.extract_long()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Any.extract_long()
方法的具体详情如下:
包路径:org.omg.CORBA.Any
类名称:Any
方法名:extract_long
暂无
代码示例来源:origin: org.jacorb/jacorb-services
public static int extract (final org.omg.CORBA.Any any)
{
return any.extract_long();
}
代码示例来源:origin: org.jacorb/jacorb-services
public static int extract (final org.omg.CORBA.Any any)
{
return any.extract_long();
}
代码示例来源:origin: org.jacorb/jacorb-services
public static int extract (final org.omg.CORBA.Any any)
{
return any.extract_long();
}
代码示例来源:origin: org.jacorb/jacorb-services
public static int extract (final org.omg.CORBA.Any any)
{
return any.extract_long();
}
代码示例来源:origin: org.jacorb/jacorb-services
public static int extract (final org.omg.CORBA.Any any)
{
return any.extract_long();
}
代码示例来源:origin: org.jacorb/jacorb-services
public static int extract (final org.omg.CORBA.Any any)
{
return any.extract_long();
}
代码示例来源:origin: org.jacorb/jacorb
public static int extract (final org.omg.CORBA.Any any)
{
return any.extract_long();
}
代码示例来源:origin: org.jacorb/jacorb-services
public static int extract (final org.omg.CORBA.Any any)
{
return any.extract_long();
}
代码示例来源:origin: org.jacorb/jacorb-services
public static int extract (final org.omg.CORBA.Any any)
{
return any.extract_long();
}
代码示例来源:origin: org.jacorb/jacorb-services
public static int extract (final org.omg.CORBA.Any any)
{
return any.extract_long();
}
代码示例来源:origin: org.jacorb/jacorb-omgapi
public static int extract (final org.omg.CORBA.Any any)
{
return any.extract_long();
}
代码示例来源:origin: org.jacorb/jacorb-services
public static int extract (final org.omg.CORBA.Any any)
{
return any.extract_long();
}
代码示例来源:origin: org.jacorb/jacorb-services
public static int extract (final org.omg.CORBA.Any any)
{
return any.extract_long();
}
代码示例来源:origin: JacORB/JacORB
public static int extract (final org.omg.CORBA.Any any)
{
return any.extract_long();
}
代码示例来源:origin: org.jacorb/jacorb-services
/**
* @jmx.managed-attribute description = "maximum number of events that may be queued per consumer"
* access = "read-write"
*/
public final int getMaxEventsPerConsumer()
{
return qosSettings_.get(MaxEventsPerConsumer.value).extract_long();
}
代码示例来源:origin: org.jacorb/jacorb-services
private boolean configureMaxBatchSize()
{
if (qosSettings_.containsKey(MaximumBatchSize.value))
{
int _maxBatchSize = qosSettings_.get(MaximumBatchSize.value).extract_long();
if (maxBatchSize_.get() != _maxBatchSize)
{
if (logger_.isInfoEnabled())
{
logger_.info("set MaxBatchSize=" + _maxBatchSize);
}
maxBatchSize_.set(_maxBatchSize);
return true;
}
}
return false;
}
代码示例来源:origin: org.jacorb/jacorb-services
private void configureAdminLimits(PropertySet adminProperties)
{
Any _maxConsumers = adminProperties.get(MaxConsumers.value);
setMaxNumberOfConsumers(_maxConsumers.extract_long());
Any _maxSuppliers = adminProperties.get(MaxSuppliers.value);
setMaxNumberOfSuppliers(_maxSuppliers.extract_long());
}
代码示例来源:origin: org.jacorb/jacorb
public int get_long() throws TypeMismatch
{
checkDestroyed ();
org.omg.CORBA.Any any = getRepresentation();
try
{
return any.extract_long();
}
catch( org.omg.CORBA.BAD_OPERATION b )
{
throw new TypeMismatch();
}
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
protected DynEnumImpl(ORB orb, Any anAny, boolean copyValue) {
super(orb, anAny, copyValue);
index = NO_INDEX;
// The any doesn't have to be initialized. We have a default value in this case.
try {
currentEnumeratorIndex = any.extract_long();
} catch (BAD_OPERATION e) {
// _REVISIT_: Fix Me
currentEnumeratorIndex = 0;
any.type(any.type());
any.insert_long(0);
}
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public int get_long()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue
{
if (status == STATUS_DESTROYED) {
throw wrapper.dynAnyDestroyed() ;
}
if (any.type().kind().value() != TCKind._tk_long)
throw new TypeMismatch();
return any.extract_long();
}
内容来源于网络,如有侵权,请联系作者删除!