1 28 29 30 package org.objectweb.ccm.sessiondemo; 31 32 import org.objectweb.corba.runtime.*; 33 34 37 public class CookieFactoryImpl 38 implements org.omg.CORBA.portable.ValueFactory 39 { 40 public 41 CookieFactoryImpl() 42 { 43 } 44 45 49 static public org.omg.CORBA.portable.ValueFactory 50 create_factory() 51 { 52 return new CookieFactoryImpl(); 53 } 54 55 59 static public org.omg.Components.Cookie 60 create_valuetype() 61 { 62 return new CookieImpl(); 63 } 64 65 static public org.omg.Components.Cookie 66 create_valuetype(byte[] val) 67 { 68 return new CookieImpl(val); 69 } 70 71 75 public java.io.Serializable 76 read_value(org.omg.CORBA_2_3.portable.InputStream is) 77 { 78 return is.read_value(create_valuetype()); 80 } 81 } 82 | Popular Tags |