1 7 8 package com.sun.corba.se.impl.ior; 9 10 import org.omg.CORBA.ORB ; 11 12 import org.omg.CORBA_2_3.portable.InputStream ; 13 import org.omg.CORBA_2_3.portable.OutputStream ; 14 15 import com.sun.corba.se.spi.ior.iiop.GIOPVersion ; 16 17 import com.sun.corba.se.spi.ior.TaggedComponent ; 18 19 22 public class GenericTaggedComponent extends GenericIdentifiable 23 implements TaggedComponent 24 { 25 public GenericTaggedComponent( int id, InputStream is ) 26 { 27 super( id, is ) ; 28 } 29 30 public GenericTaggedComponent( int id, byte[] data ) 31 { 32 super( id, data ) ; 33 } 34 35 40 public org.omg.IOP.TaggedComponent getIOPComponent( ORB orb ) 41 { 42 return new org.omg.IOP.TaggedComponent ( getId(), 43 getData() ) ; 44 } 45 } 46 | Popular Tags |