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

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

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

InputStream.read_ushort介绍

暂无

代码示例

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

public static short read (org.omg.CORBA.portable.InputStream istream)
{
 short value = (short)0;
 value = istream.read_ushort ();
 return value;
}

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

public static short read (org.omg.CORBA.portable.InputStream istream)
{
 short value = (short)0;
 value = istream.read_ushort ();
 return value;
}

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

public static short read (org.omg.CORBA.portable.InputStream istream)
{
 short value = (short)0;
 value = istream.read_ushort ();
 return value;
}

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

public static short read (final org.omg.CORBA.portable.InputStream _in)
{
  short _result;
  _result=_in.read_ushort();
  return _result;
}

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

public static short
read(org.omg.CORBA.portable.InputStream in)
{
  short _ob_v;
  _ob_v = in.read_ushort();
  return _ob_v;
}

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

/**
 * Operation read_ushort
 */
public short read_ushort()
{
  return delegate.read_ushort();
}

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

public static org.omg.Security.ExtensibleFamily read (org.omg.CORBA.portable.InputStream istream)
{
 org.omg.Security.ExtensibleFamily value = new org.omg.Security.ExtensibleFamily ();
 value.family_definer = istream.read_ushort ();
 value.family = istream.read_ushort ();
 return value;
}

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

public static org.omg.Security.ExtensibleFamily read (final org.omg.CORBA.portable.InputStream in)
{
  org.omg.Security.ExtensibleFamily result = new org.omg.Security.ExtensibleFamily();
  result.family_definer=in.read_ushort();
  result.family=in.read_ushort();
  return result;
}
public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.Security.ExtensibleFamily s)

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

public Integer readUShort() throws CorbaBindingException {
  try {
    int result = stream.read_ushort();
    if (result < 0) {
      result = (result - Short.MIN_VALUE) - Short.MIN_VALUE;
    }
    return result;
  } catch (org.omg.CORBA.MARSHAL ex) {
    LOG.log(Level.SEVERE, "CorbaObjectReader: could not read unsigned short");
    throw new CorbaBindingException("CorbaObjectReader: readUShort MARSHAL exception", ex);
  }
}

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

public static org.omg.CSIIOP.AS_ContextSec read (org.omg.CORBA.portable.InputStream istream)
{
 org.omg.CSIIOP.AS_ContextSec value = new org.omg.CSIIOP.AS_ContextSec ();
 value.target_supports = istream.read_ushort ();
 value.target_requires = istream.read_ushort ();
 value.client_authentication_mech = org.omg.CSI.OIDHelper.read (istream);
 value.target_name = org.omg.CSI.GSS_NT_ExportedNameHelper.read (istream);
 return value;
}

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

public static org.omg.Security.SecurityMechanismData read (final org.omg.CORBA.portable.InputStream in)
{
  org.omg.Security.SecurityMechanismData result = new org.omg.Security.SecurityMechanismData();
  result.mechanism=in.read_string();
  result.security_name=in.read_string();
  result.options_supported=in.read_ushort();
  result.options_required=in.read_ushort();
  return result;
}
public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.Security.SecurityMechanismData s)

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

public static org.omg.PortableServer.POAPackage.InvalidPolicy read (org.omg.CORBA.portable.InputStream istream)
{
 org.omg.PortableServer.POAPackage.InvalidPolicy value = new org.omg.PortableServer.POAPackage.InvalidPolicy ();
 // read and discard the repository ID
 istream.read_string ();
 value.index = istream.read_ushort ();
 return value;
}

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

public static org.omg.CSIIOP.SAS_ContextSec read (org.omg.CORBA.portable.InputStream istream)
{
 org.omg.CSIIOP.SAS_ContextSec value = new org.omg.CSIIOP.SAS_ContextSec ();
 value.target_supports = istream.read_ushort ();
 value.target_requires = istream.read_ushort ();
 value.privilege_authorities = org.omg.CSIIOP.ServiceConfigurationListHelper.read (istream);
 value.supported_naming_mechanisms = org.omg.CSI.OIDListHelper.read (istream);
 value.supported_identity_types = istream.read_ulong ();
 return value;
}

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

public static org.omg.Security.OptionsDirectionPair read (org.omg.CORBA.portable.InputStream istream)
{
 org.omg.Security.OptionsDirectionPair value = new org.omg.Security.OptionsDirectionPair ();
 value.options = istream.read_ushort ();
 value.direction = org.omg.Security.CommunicationDirectionHelper.read (istream);
 return value;
}

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

public static org.omg.Security.AuditEventType read (org.omg.CORBA.portable.InputStream istream)
{
 org.omg.Security.AuditEventType value = new org.omg.Security.AuditEventType ();
 value.event_family = org.omg.Security.ExtensibleFamilyHelper.read (istream);
 value.event_type = istream.read_ushort ();
 return value;
}

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

public static org.omg.Security.AuditEventType read (final org.omg.CORBA.portable.InputStream in)
{
  org.omg.Security.AuditEventType result = new org.omg.Security.AuditEventType();
  result.event_family=org.omg.Security.ExtensibleFamilyHelper.read(in);
  result.event_type=in.read_ushort();
  return result;
}
public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.Security.AuditEventType s)

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

public static org.omg.IIOP.ListenPoint read (final org.omg.CORBA.portable.InputStream in)
{
  org.omg.IIOP.ListenPoint result = new org.omg.IIOP.ListenPoint();
  result.host=in.read_string();
  result.port=in.read_ushort();
  return result;
}
public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.IIOP.ListenPoint s)

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

public static org.omg.CSIIOP.SAS_ContextSec read (org.omg.CORBA.portable.InputStream istream)
{
 org.omg.CSIIOP.SAS_ContextSec value = new org.omg.CSIIOP.SAS_ContextSec ();
 value.target_supports = istream.read_ushort ();
 value.target_requires = istream.read_ushort ();
 value.privilege_authorities = org.omg.CSIIOP.ServiceConfigurationListHelper.read (istream);
 value.supported_naming_mechanisms = org.omg.CSI.OIDListHelper.read (istream);
 value.supported_identity_types = istream.read_ulong ();
 return value;
}

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

public static InvalidPolicy
read(org.omg.CORBA.portable.InputStream in)
{
  if(!id().equals(in.read_string()))
    throw new org.omg.CORBA.MARSHAL();
  InvalidPolicy _ob_v = new InvalidPolicy();
  _ob_v.index = in.read_ushort();
  return _ob_v;
}

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

public static org.omg.CSIIOP.CompoundSecMech read (final org.omg.CORBA.portable.InputStream in)
{
  org.omg.CSIIOP.CompoundSecMech result = new org.omg.CSIIOP.CompoundSecMech();
  result.target_requires=in.read_ushort();
  result.transport_mech=org.omg.IOP.TaggedComponentHelper.read(in);
  result.as_context_mech=org.omg.CSIIOP.AS_ContextSecHelper.read(in);
  result.sas_context_mech=org.omg.CSIIOP.SAS_ContextSecHelper.read(in);
  return result;
}
public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.CSIIOP.CompoundSecMech s)

相关文章

微信公众号

最新文章

更多