org.omg.CORBA_2_3.portable.InputStream.read_string()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(5.3k)|赞(0)|评价(0)|浏览(86)

本文整理了Java中org.omg.CORBA_2_3.portable.InputStream.read_string()方法的一些代码示例,展示了InputStream.read_string()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。InputStream.read_string()方法的具体详情如下:
包路径:org.omg.CORBA_2_3.portable.InputStream
类名称:InputStream
方法名:read_string

InputStream.read_string介绍

暂无

代码示例

代码示例来源:origin: wildfly/wildfly

/**
 * Reads an exception from a CDR input stream.
 */
public Exception read(InputStream in) {
  if (readMethod != null) {
    try {
      return (Exception) readMethod.invoke(null, new Object[]{in});
    } catch (IllegalAccessException e) {
      throw IIOPLogger.ROOT_LOGGER.unexpectedException(e);
    } catch (java.lang.reflect.InvocationTargetException e) {
      throw IIOPLogger.ROOT_LOGGER.errorUnmarshaling(IDLEntity.class, e.getTargetException());
    }
  } else {
    in.read_string(); // read and discard the repository id
    return (Exception) in.read_value(clz);
  }
}

代码示例来源:origin: org.apache.yoko/yoko-core

public java.io.Serializable read_value(
      org.omg.CORBA_2_3.portable.InputStream is) {
    return is.read_string();
  }
}

代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec

public Identifiable readContents(InputStream in)
  {
    String url = in.read_string();
    Identifiable comp = new JavaCodebaseComponentImpl(url);
    return comp;
  }
};

代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb

public Identifiable readContents( InputStream in )
  {
    String url = in.read_string() ;
    Identifiable comp = new JavaCodebaseComponentImpl( url ) ;
    return comp ;
  }
} ;

代码示例来源:origin: jboss/jboss-javaee-specs

public Identifiable readContents(InputStream in)
  {
    String url = in.read_string();
    Identifiable comp = new JavaCodebaseComponentImpl(url);
    return comp;
  }
};

代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec

public Exception read(InputStream is)
  {
    is.read_string(); // read and ignore!
    return (Exception) is.read_value(getExceptionClass());
  }
}

代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb

public Exception read( InputStream is )
  {
    is.read_string() ; // read and ignore!
    return (Exception)is.read_value( getExceptionClass() ) ;
  }
}

代码示例来源:origin: jboss/jboss-javaee-specs

public IIOPAddressImpl(InputStream is)
{
  host = is.read_string();
  short thePort = is.read_short();
  port = shortToInt(thePort);
}

代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec

public IIOPAddressImpl(InputStream is)
{
  host = is.read_string();
  short thePort = is.read_short();
  port = shortToInt(thePort);
}

代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb

public IIOPAddressImpl( InputStream is )
{
  host = is.read_string() ;
  short thePort = is.read_short() ;
  port = shortToInt( thePort ) ;
}

代码示例来源:origin: jboss/jboss-javaee-specs

public Exception read(InputStream is)
  {
    is.read_string(); // read and ignore!
    return (Exception) is.read_value(getExceptionClass());
  }
}

代码示例来源: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.openjdk-orb/openjdk-orb

/** This constructor reads the template ONLY from the stream.
*/
public POAObjectKeyTemplate( ORB orb, int magic, int scid, InputStream is )
{
  super( orb, magic, scid, is.read_long(), is.read_string(),
    new ObjectAdapterIdArray( POANameHelper.read( is ) ) ) ;
  setORBVersion( is ) ;
}

代码示例来源: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: jboss/jboss-javaee-specs

/**
 * This constructor reads the template ONLY from the stream.
 */
public POAObjectKeyTemplate(ORB orb, int magic, int scid, InputStream is)
{
  super(orb, magic, scid, is.read_long(), is.read_string(), new ObjectAdapterIdArray(POANameHelper.read(is)));
  setORBVersion(is);
}

代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec

/**
 * This constructor reads the template ONLY from the stream.
 */
public POAObjectKeyTemplate(ORB orb, int magic, int scid, InputStream is)
{
  super(orb, magic, scid, is.read_long(), is.read_string(), new ObjectAdapterIdArray(POANameHelper.read(is)));
  setORBVersion(is);
}

代码示例来源: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: jboss/jboss-javaee-specs

/**
 * This constructor reads a complete ObjectKey (template and Id) from the stream.
 */
public POAObjectKeyTemplate(ORB orb, int magic, int scid, InputStream is, OctetSeqHolder osh)
{
  super(orb, magic, scid, is.read_long(), is.read_string(), new ObjectAdapterIdArray(POANameHelper.read(is)));
  osh.value = readObjectKey(is);
  setORBVersion(is);
}

代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec

/**
 * This constructor reads a complete ObjectKey (template and Id) from the stream.
 */
public POAObjectKeyTemplate(ORB orb, int magic, int scid, InputStream is, OctetSeqHolder osh)
{
  super(orb, magic, scid, is.read_long(), is.read_string(), new ObjectAdapterIdArray(POANameHelper.read(is)));
  osh.value = readObjectKey(is);
  setORBVersion(is);
}

代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb

/** This constructor reads a complete ObjectKey (template and Id)
* from the stream.
*/
public POAObjectKeyTemplate( ORB orb, int magic, int scid, InputStream is,
  OctetSeqHolder osh )
{
  super( orb, magic, scid, is.read_long(), is.read_string(),
    new ObjectAdapterIdArray( POANameHelper.read( is ) ) ) ;
  osh.value = readObjectKey( is ) ;
  setORBVersion( is ) ;
}

相关文章