org.omg.CORBA.portable.OutputStream.write_string()方法的使用及代码示例

x33g5p2x  于2022-01-26 转载在 其他  
字(5.2k)|赞(0)|评价(0)|浏览(161)

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

OutputStream.write_string介绍

暂无

代码示例

代码示例来源:origin: apache/cxf

public void writeString(String s) throws CorbaBindingException {
  if (s == null) {
    stream.write_string("");
  } else {
    stream.write_string(s);
  }
}

代码示例来源:origin: org.jacorb/jacorb

/**
 * Operation write_string
 */
public void write_string( java.lang.String value )
{
  delegate.write_string( value );
}

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

public static void write(org.omg.CORBA.portable.OutputStream ostream,
    org.jboss.com.sun.org.omg.CORBA.ExceptionDescription value)
{
  ostream.write_string(value.name);
  ostream.write_string(value.id);
  ostream.write_string(value.defined_in);
  ostream.write_string(value.version);
  ostream.write_TypeCode(value.type);
}

代码示例来源:origin: org.jacorb/jacorb

public static void write (final org.omg.CORBA.portable.OutputStream out, final org.jacorb.imr.AdminPackage.UnknownHostName s)
  {
    out.write_string(id());
    java.lang.String tmpResult40 = s.name;
out.write_string( tmpResult40 );
  }
}

代码示例来源:origin: org.jacorb/jacorb

public static void write (final org.omg.CORBA.portable.OutputStream out, final org.jacorb.imr.RegistrationPackage.IllegalHostName s)
  {
    out.write_string(id());
    java.lang.String tmpResult23 = s.name;
out.write_string( tmpResult23 );
  }
}

代码示例来源:origin: org.jacorb/jacorb

public static void write (final org.omg.CORBA.portable.OutputStream out, final org.jacorb.imr.HostInfo s)
  {
    java.lang.String tmpResult17 = s.name;
out.write_string( tmpResult17 );
    org.jacorb.imr.ServerStartupDaemonHelper.write(out,s.ssd_ref);
    java.lang.String tmpResult18 = s.ior_string;
out.write_string( tmpResult18 );
  }
}

代码示例来源:origin: org.jacorb/jacorb

public static void write (final org.omg.CORBA.portable.OutputStream out, final org.jacorb.imr.AdminPackage.DuplicateServerName s)
  {
    out.write_string(id());
    java.lang.String tmpResult39 = s.name;
out.write_string( tmpResult39 );
  }
}

代码示例来源:origin: org.jacorb/jacorb

public static void write (final org.omg.CORBA.portable.OutputStream out, final org.jacorb.imr.UnknownServerName s)
  {
    out.write_string(id());
    java.lang.String tmpResult14 = s.name;
out.write_string( tmpResult14 );
  }
}

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

public static void write(org.omg.CORBA.portable.OutputStream ostream,
    org.jboss.com.sun.org.omg.CORBA.AttributeDescription value)
{
  ostream.write_string(value.name);
  ostream.write_string(value.id);
  ostream.write_string(value.defined_in);
  ostream.write_string(value.version);
  ostream.write_TypeCode(value.type);
  org.jboss.com.sun.org.omg.CORBA.AttributeModeHelper.write(ostream, value.mode);
}

代码示例来源:origin: org.jacorb/jacorb

public static void write (final org.omg.CORBA.portable.OutputStream out, final org.jacorb.imr.ImRInfo s)
  {
    java.lang.String tmpResult7 = s.host;
out.write_string( tmpResult7 );
    out.write_ulong(s.port);
  }
}

代码示例来源:origin: org.jacorb/jacorb

public static void write (final org.omg.CORBA.portable.OutputStream out, final org.jacorb.transport.NoContext s)
  {
    out.write_string(id());
  }
}

代码示例来源:origin: org.jacorb/jacorb

public static void write (final org.omg.CORBA.portable.OutputStream out, final org.jacorb.tao_imr.ImplementationRepository.ServerInformation s)
  {
    java.lang.String tmpResult7 = s.server;
out.write_string( tmpResult7 );
    org.jacorb.tao_imr.ImplementationRepository.StartupOptionsHelper.write(out,s.startup);
    java.lang.String tmpResult8 = s.partial_ior;
out.write_string( tmpResult8 );
    org.jacorb.tao_imr.ImplementationRepository.ServerActiveStatusHelper.write(out,s.activeStatus);
  }
}

代码示例来源:origin: org.jacorb/jacorb

public static void write (final org.omg.CORBA.portable.OutputStream _out, java.lang.String[] _s)
  {
    
    _out.write_long(_s.length);
    for (int i=0; i<_s.length;i++)
    {
      java.lang.String tmpResult28 = _s[i];
_out.write_string( tmpResult28 );
    }

  }
}

代码示例来源:origin: org.jacorb/jacorb

public static void write (final org.omg.CORBA.portable.OutputStream out, final org.jacorb.tao_imr.ImplementationRepository.NotFound s)
  {
    out.write_string(id());
  }
}

代码示例来源:origin: jboss.jbossts/jbossjts

public static void write (final org.omg.CORBA.portable.OutputStream out, final com.arjuna.ArjunaOTS.InterpositionFailed s)
  {
    out.write_string(id());
  }
}

代码示例来源:origin: jboss.jbossts/jbossjts

public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.CosTransactions.HeuristicHazard s)
  {
    out.write_string(id());
  }
}

代码示例来源:origin: jboss.jbossts/jbossjts

public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.CosTransactions.SubtransactionsUnavailable s)
  {
    out.write_string(id());
  }
}

代码示例来源:origin: jboss.jbossts/jbossjts

public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.CosTransactions.Unavailable s)
  {
    out.write_string(id());
  }
}

代码示例来源:origin: jboss.jbossts/jbossjts

public static void write (final org.omg.CORBA.portable.OutputStream out, final com.arjuna.ArjunaOTS.ActiveTransaction s)
  {
    out.write_string(id());
  }
}

代码示例来源:origin: apache/cxf

public void writeException(CorbaExceptionHandler exHandler) throws CorbaBindingException {
  Exception exType = (Exception)exHandler.getType();
  List<CorbaObjectHandler> exMembers = exHandler.getMembers();
  stream.write_string(exType.getRepositoryID());
  for (int i = 0; i < exMembers.size(); ++i) {
    this.write(exMembers.get(i));
  }
}

相关文章