public void _write(org.omg.CORBA.portable.OutputStream out) { PolicyValueSeqHelper.write(out, value); }
public void _read(org.omg.CORBA.portable.InputStream in) { value = PolicyValueSeqHelper.read(in); }
public org.omg.CORBA.TypeCode _type () { return PolicyValueSeqHelper.type (); } public void _read (final org.omg.CORBA.portable.InputStream in)
public static org.omg.CORBA.TypeCode type() { if(typeCode_ == null) { org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(); typeCode_ = orb.create_alias_tc(id(), "PolicyValueSeq", orb.create_sequence_tc(0, PolicyValueHelper.type())); } return typeCode_; }
public org.omg.CORBA.TypeCode _type () { return PolicyValueSeqHelper.type (); } public void _read (final org.omg.CORBA.portable.InputStream in)
public static org.omg.CORBA.TypeCode type () { if (_type == null) { synchronized(PolicyValueSeqHelper.class) { if (_type == null) { _type = org.omg.CORBA.ORB.init().create_alias_tc(org.omg.Messaging.PolicyValueSeqHelper.id(), "PolicyValueSeq",org.omg.CORBA.ORB.init().create_sequence_tc(0, org.omg.CORBA.ORB.init().create_struct_tc(org.omg.Messaging.PolicyValueHelper.id(),"PolicyValue",new org.omg.CORBA.StructMember[]{new org.omg.CORBA.StructMember("ptype", org.omg.CORBA.ORB.init().create_alias_tc(org.omg.CORBA.PolicyTypeHelper.id(), "PolicyType",org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(5))), null),new org.omg.CORBA.StructMember("pvalue", org.omg.CORBA.ORB.init().create_alias_tc(org.omg.Messaging.PolicyDataHelper.id(), "PolicyData",org.omg.CORBA.ORB.init().create_alias_tc(org.omg.CORBA.OctetSeqHelper.id(), "OctetSeq",org.omg.CORBA.ORB.init().create_sequence_tc(0, org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(10))))), null)}))); } } } return _type; }
public void _write (final org.omg.CORBA.portable.OutputStream out) { PolicyValueSeqHelper.write (out,value); } }
public void _read (final org.omg.CORBA.portable.InputStream in) { value = PolicyValueSeqHelper.read (in); } public void _write (final org.omg.CORBA.portable.OutputStream out)
public org.omg.CORBA.TypeCode _type() { return PolicyValueSeqHelper.type(); } }
public static org.omg.CORBA.TypeCode type () { if (_type == null) { synchronized(PolicyValueSeqHelper.class) { if (_type == null) { _type = org.omg.CORBA.ORB.init().create_alias_tc(org.omg.Messaging.PolicyValueSeqHelper.id(), "PolicyValueSeq",org.omg.CORBA.ORB.init().create_sequence_tc(0, org.omg.CORBA.ORB.init().create_struct_tc(org.omg.Messaging.PolicyValueHelper.id(),"PolicyValue",new org.omg.CORBA.StructMember[]{new org.omg.CORBA.StructMember("ptype", org.omg.CORBA.ORB.init().create_alias_tc(org.omg.CORBA.PolicyTypeHelper.id(), "PolicyType",org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(5))), null),new org.omg.CORBA.StructMember("pvalue", org.omg.CORBA.ORB.init().create_alias_tc(org.omg.Messaging.PolicyDataHelper.id(), "PolicyData",org.omg.CORBA.ORB.init().create_alias_tc(org.omg.CORBA.OctetSeqHelper.id(), "OctetSeq",org.omg.CORBA.ORB.init().create_sequence_tc(0, org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(10))))), null)}))); } } } return _type; }
public void _write (final org.omg.CORBA.portable.OutputStream out) { PolicyValueSeqHelper.write (out,value); } }
public void _read (final org.omg.CORBA.portable.InputStream in) { value = PolicyValueSeqHelper.read (in); } public void _write (final org.omg.CORBA.portable.OutputStream out)
members[5].type = org.omg.Messaging.PolicyValueSeqHelper.type();
public static void write(org.omg.CORBA.portable.OutputStream out, RequestInfo val) { RouterListHelper.write(out, val.visited); RouterListHelper.write(out, val.to_visit); out.write_Object(val.target); out.write_ushort(val.profile_index); ReplyDestinationHelper.write(out, val.reply_destination); org.omg.Messaging.PolicyValueSeqHelper.write(out, val.selected_qos); RequestMessageHelper.write(out, val.payload); } }
public static org.omg.Messaging.PolicyValue[] extract (final org.omg.CORBA.Any any) { if ( any.type().kind() == org.omg.CORBA.TCKind.tk_null) { throw new org.omg.CORBA.BAD_OPERATION ("Can't extract from Any with null type."); } return read (any.create_input_stream ()); }
private ServiceContext createInvocationPolicies() { final CDROutputStream out = new CDROutputStream( orb ); try { out.beginEncapsulatedArray(); PolicyValueSeqHelper.write(out, getTimingPolicyValues()); return new ServiceContext (INVOCATION_POLICIES.value, out.getBufferCopy()); } finally { out.close(); } } }