01: package org.omg.SecurityLevel2;
02:
03: public class CredentialsListHelper implements
04: org.omg.CORBA.portable.Helper {
05: private static org.omg.CORBA.TypeCode _type = org.omg.CORBA.ORB
06: .init()
07: .create_sequence_tc(
08: 0,
09: org.omg.CORBA.ORB
10: .init()
11: .create_interface_tc(
12: "IDL:omg.org/SecurityLevel2/Credentials:1.0",
13: "Credentials"));
14:
15: public CredentialsListHelper() {
16: }
17:
18: public static void insert(org.omg.CORBA.Any any,
19: org.omg.SecurityLevel2.Credentials[] s) {
20: any.type(type());
21: write(any.create_output_stream(), s);
22: }
23:
24: public static org.omg.SecurityLevel2.Credentials[] extract(
25: org.omg.CORBA.Any any) {
26: return read(any.create_input_stream());
27: }
28:
29: public static org.omg.CORBA.TypeCode type() {
30: return _type;
31: }
32:
33: public String get_id() {
34: return id();
35: }
36:
37: public org.omg.CORBA.TypeCode get_type() {
38: return type();
39: }
40:
41: public void write_Object(org.omg.CORBA.portable.OutputStream out,
42: java.lang.Object obj) {
43: throw new RuntimeException(" not implemented");
44: }
45:
46: public java.lang.Object read_Object(
47: org.omg.CORBA.portable.InputStream in) {
48: throw new RuntimeException(" not implemented");
49: }
50:
51: public static String id() {
52: return "IDL:omg.org/SecurityLevel2/CredentialsList:1.0";
53: }
54:
55: public static org.omg.SecurityLevel2.Credentials[] read(
56: org.omg.CORBA.portable.InputStream in) {
57: throw new org.omg.CORBA.MARSHAL();
58: }
59:
60: public static void write(org.omg.CORBA.portable.OutputStream out,
61: org.omg.SecurityLevel2.Credentials[] s) {
62: throw new org.omg.CORBA.MARSHAL();
63: }
64: }
|