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

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

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

OutputStream.write_Principal介绍

暂无

代码示例

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

public void _write(OutputStream output) {
  output.write_Principal(value);
}

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

public void _write(org.omg.CORBA.portable.OutputStream os) {
  os.write_Principal(value);
}

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

public void _write(org.omg.CORBA.portable.OutputStream output) {
  output.write_Principal(value);
}

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

public void _write(org.omg.CORBA.portable.OutputStream os) {
  os.write_Principal(value);
}

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

public static void
  write(org.omg.CORBA.portable.OutputStream out, RequestHeader_1_0 val)
  {
    org.omg.IOP.ServiceContextListHelper.write(out, val.service_context);
    out.write_ulong(val.request_id);
    out.write_boolean(val.response_expected);
    int len0 = val.object_key.length;
    out.write_ulong(len0);
    out.write_octet_array(val.object_key, 0, len0);
    out.write_string(val.operation);
    out.write_Principal(val.requesting_principal);
  }
}

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

public static void
  write(org.omg.CORBA.portable.OutputStream out, RequestHeader_1_1 val)
  {
    org.omg.IOP.ServiceContextListHelper.write(out, val.service_context);
    out.write_ulong(val.request_id);
    out.write_boolean(val.response_expected);
    int len0 = val.reserved.length;
    if(len0 != 3)
       throw new org.omg.CORBA.MARSHAL();
    out.write_octet_array(val.reserved, 0, len0);
    int len1 = val.object_key.length;
    out.write_ulong(len1);
    out.write_octet_array(val.object_key, 0, len1);
    out.write_string(val.operation);
    out.write_Principal(val.requesting_principal);
  }
}

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

public void write(org.omg.CORBA.portable.OutputStream ostream) {
  super.write(ostream);
  if (this.service_contexts != null) {
      service_contexts.write(
      (org.omg.CORBA_2_3.portable.OutputStream) ostream,
      GIOPVersion.V1_0);
    } else {
      ServiceContexts.writeNullServiceContext(
      (org.omg.CORBA_2_3.portable.OutputStream) ostream);
  }
  ostream.write_ulong(this.request_id);
  ostream.write_boolean(this.response_expected);
  nullCheck(this.object_key);
  ostream.write_long(this.object_key.length);
  ostream.write_octet_array(this.object_key, 0, this.object_key.length);
  ostream.write_string(this.operation);
  if (this.requesting_principal != null) {
    ostream.write_Principal(this.requesting_principal);
  } else {
    ostream.write_long(0);
  }
}

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

public void write(org.omg.CORBA.portable.OutputStream ostream)
{
  super.write(ostream);
  if (this.service_contexts != null)
  {
    service_contexts.write((org.omg.CORBA_2_3.portable.OutputStream) ostream, GIOPVersion.V1_0);
  }
  else
  {
    ServiceContexts.writeNullServiceContext((org.omg.CORBA_2_3.portable.OutputStream) ostream);
  }
  ostream.write_ulong(this.request_id);
  ostream.write_boolean(this.response_expected);
  nullCheck(this.object_key);
  ostream.write_long(this.object_key.length);
  ostream.write_octet_array(this.object_key, 0, this.object_key.length);
  ostream.write_string(this.operation);
  if (this.requesting_principal != null)
  {
    ostream.write_Principal(this.requesting_principal);
  }
  else
  {
    ostream.write_long(0);
  }
}

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

public void write(org.omg.CORBA.portable.OutputStream ostream)
{
  super.write(ostream);
  if (this.service_contexts != null)
  {
    service_contexts.write((org.omg.CORBA_2_3.portable.OutputStream) ostream, GIOPVersion.V1_0);
  }
  else
  {
    ServiceContexts.writeNullServiceContext((org.omg.CORBA_2_3.portable.OutputStream) ostream);
  }
  ostream.write_ulong(this.request_id);
  ostream.write_boolean(this.response_expected);
  nullCheck(this.object_key);
  ostream.write_long(this.object_key.length);
  ostream.write_octet_array(this.object_key, 0, this.object_key.length);
  ostream.write_string(this.operation);
  if (this.requesting_principal != null)
  {
    ostream.write_Principal(this.requesting_principal);
  }
  else
  {
    ostream.write_long(0);
  }
}

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

out.write_Principal((org.omg.CORBA.Principal) value_);
break;

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

public void write(org.omg.CORBA.portable.OutputStream ostream) {
  super.write(ostream);
  if (this.service_contexts != null) {
      service_contexts.write(
      (org.omg.CORBA_2_3.portable.OutputStream) ostream,
      GIOPVersion.V1_1);
    } else {
      ServiceContexts.writeNullServiceContext(
      (org.omg.CORBA_2_3.portable.OutputStream) ostream);
  }
  ostream.write_ulong(this.request_id);
  ostream.write_boolean(this.response_expected);
  nullCheck(this.reserved);
  if (this.reserved.length != (3)) {
    throw wrapper.badReservedLength(
      org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
  }
  for (int _i0 = 0;_i0 < (3); ++_i0) {
    ostream.write_octet(this.reserved[_i0]);
  }
  nullCheck(this.object_key);
  ostream.write_long(this.object_key.length);
  ostream.write_octet_array(this.object_key, 0, this.object_key.length);
  ostream.write_string(this.operation);
  if (this.requesting_principal != null) {
    ostream.write_Principal(this.requesting_principal);
  } else {
    ostream.write_long(0);
  }
}

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

if (this.requesting_principal != null)
  ostream.write_Principal(this.requesting_principal);

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

if (this.requesting_principal != null)
  ostream.write_Principal(this.requesting_principal);

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

s.write_Principal((Principal)o);
break;

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

s.write_Principal((Principal) o);
break;

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

s.write_Principal((Principal) o);
break;

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

dst.write_Principal(src.read_Principal());
break;

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

dst.write_Principal(src.read_Principal());
break;

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

dst.write_Principal(src.read_Principal());
break;

相关文章