本文整理了Java中org.omg.CORBA_2_3.portable.InputStream.orb()
方法的一些代码示例,展示了InputStream.orb()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。InputStream.orb()
方法的具体详情如下:
包路径:org.omg.CORBA_2_3.portable.InputStream
类名称:InputStream
方法名:orb
暂无
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
private static boolean isDebugging( InputStream is )
{
ORB orb = (ORB)(is.orb()) ;
if (orb==null)
return false ;
return orb.serviceContextDebugFlag ;
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public GenericTaggedProfile( int id, InputStream is )
{
super( id, is ) ;
this.orb = (ORB)(is.orb()) ;
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
/** Read the data into a (presumably) empty ORTImpl. This sets the
* orb to the ORB of the InputStream.
*/
public void _read( InputStream is )
{
org.omg.CORBA_2_3.portable.InputStream istr =
(org.omg.CORBA_2_3.portable.InputStream)is ;
iorTemplate = IORFactories.makeIORTemplate( istr ) ;
orb = (ORB)(istr.orb()) ;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public IIOPProfileImpl(InputStream is)
{
this((ORB) (is.orb()));
init(is);
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public IIOPProfileImpl( InputStream is )
{
this( (ORB)(is.orb()) ) ;
init( is ) ;
}
代码示例来源:origin: jboss/jboss-javaee-specs
/**
* Read the data into a (presumably) empty ORTImpl. This sets the orb to the ORB of the InputStream.
*/
public void _read(InputStream is)
{
org.omg.CORBA_2_3.portable.InputStream istr = (org.omg.CORBA_2_3.portable.InputStream) is;
iorTemplate = IORFactories.makeIORTemplate(istr);
orb = (ORB) (istr.orb());
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
/**
* Read the data into a (presumably) empty ORTImpl. This sets the orb to the ORB of the InputStream.
*/
public void _read(InputStream is)
{
org.omg.CORBA_2_3.portable.InputStream istr = (org.omg.CORBA_2_3.portable.InputStream) is;
iorTemplate = IORFactories.makeIORTemplate(istr);
orb = (ORB) (istr.orb());
}
代码示例来源:origin: jboss/jboss-javaee-specs
public IIOPProfileImpl(InputStream is)
{
this((ORB) (is.orb()));
init(is);
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public WireObjectKeyTemplate( InputStream is, OctetSeqHolder osh )
{
osh.value = getId( is ) ;
initORB( (ORB)(is.orb())) ;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public WireObjectKeyTemplate(InputStream is, OctetSeqHolder osh)
{
osh.value = getId(is);
initORB((ORB) (is.orb()));
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
/**
* Helper method to read the octet array from is, deencapsulate it, and return as another InputStream. This must be
* called inside the constructor of a derived class to obtain the correct stream for unmarshalling data.
*/
static public InputStream getEncapsulationStream(InputStream is)
{
byte[] data = readOctets(is);
EncapsInputStream result = new EncapsInputStream(is.orb(), data, data.length);
result.consumeEndian();
return result;
}
代码示例来源:origin: jboss/jboss-javaee-specs
/**
* Helper method to read the octet array from is, deencapsulate it, and return as another InputStream. This must be
* called inside the constructor of a derived class to obtain the correct stream for unmarshalling data.
*/
static public InputStream getEncapsulationStream(InputStream is)
{
byte[] data = readOctets(is);
EncapsInputStream result = new EncapsInputStream(is.orb(), data, data.length);
result.consumeEndian();
return result;
}
代码示例来源:origin: jboss/jboss-javaee-specs
public IORImpl(InputStream is)
{
this((ORB) (is.orb()), is.read_string());
IdentifiableFactoryFinder finder = factory.getTaggedProfileFactoryFinder();
EncapsulationUtility.readIdentifiableSequence(this, finder, is);
makeImmutable();
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public IORImpl(InputStream is)
{
this((ORB) (is.orb()), is.read_string());
IdentifiableFactoryFinder finder = factory.getTaggedProfileFactoryFinder();
EncapsulationUtility.readIdentifiableSequence(this, finder, is);
makeImmutable();
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public IORImpl(InputStream is)
{
this( (ORB)(is.orb()), is.read_string() ) ;
IdentifiableFactoryFinder finder =
factory.getTaggedProfileFactoryFinder() ;
EncapsulationUtility.readIdentifiableSequence( this, finder, is ) ;
makeImmutable() ;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public IORTemplateImpl(InputStream is)
{
ORB orb = (ORB) (is.orb());
IdentifiableFactoryFinder finder = orb.getTaggedProfileTemplateFactoryFinder();
oktemp = orb.getObjectKeyFactory().createTemplate(is);
EncapsulationUtility.readIdentifiableSequence(this, finder, is);
makeImmutable();
}
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public IORTemplateImpl( InputStream is )
{
ORB orb = (ORB)(is.orb()) ;
IdentifiableFactoryFinder finder =
orb.getTaggedProfileTemplateFactoryFinder() ;
oktemp = orb.getObjectKeyFactory().createTemplate( is ) ;
EncapsulationUtility.readIdentifiableSequence( this, finder, is ) ;
makeImmutable() ;
}
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public IIOPProfileTemplateImpl(InputStream istr)
{
byte major = istr.read_octet();
byte minor = istr.read_octet();
giopVersion = GIOPVersion.getInstance(major, minor);
primary = new IIOPAddressImpl(istr);
orb = (ORB) (istr.orb());
// Handle any tagged components (if applicable)
if (minor > 0)
EncapsulationUtility.readIdentifiableSequence(this, orb.getTaggedComponentFactoryFinder(), istr);
makeImmutable();
}
代码示例来源:origin: jboss/jboss-javaee-specs
public IIOPProfileTemplateImpl(InputStream istr)
{
byte major = istr.read_octet();
byte minor = istr.read_octet();
giopVersion = GIOPVersion.getInstance(major, minor);
primary = new IIOPAddressImpl(istr);
orb = (ORB) (istr.orb());
// Handle any tagged components (if applicable)
if (minor > 0)
EncapsulationUtility.readIdentifiableSequence(this, orb.getTaggedComponentFactoryFinder(), istr);
makeImmutable();
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public IIOPProfileTemplateImpl( InputStream istr )
{
byte major = istr.read_octet() ;
byte minor = istr.read_octet() ;
giopVersion = GIOPVersion.getInstance( major, minor ) ;
primary = new IIOPAddressImpl( istr ) ;
orb = (ORB)(istr.orb()) ;
// Handle any tagged components (if applicable)
if (minor > 0)
EncapsulationUtility.readIdentifiableSequence(
this, orb.getTaggedComponentFactoryFinder(), istr ) ;
makeImmutable() ;
}
内容来源于网络,如有侵权,请联系作者删除!