KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > impl > ior > GenericTaggedComponent


1 /*
2  * @(#)GenericTaggedComponent.java 1.9 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package com.sun.corba.se.impl.ior;
9
10 import org.omg.CORBA.ORB JavaDoc ;
11
12 import org.omg.CORBA_2_3.portable.InputStream JavaDoc ;
13 import org.omg.CORBA_2_3.portable.OutputStream JavaDoc ;
14
15 import com.sun.corba.se.spi.ior.iiop.GIOPVersion ;
16
17 import com.sun.corba.se.spi.ior.TaggedComponent ;
18
19 /**
20  * @author
21  */

22 public class GenericTaggedComponent extends GenericIdentifiable
23     implements TaggedComponent
24 {
25     public GenericTaggedComponent( int id, InputStream JavaDoc is )
26     {
27     super( id, is ) ;
28     }
29
30     public GenericTaggedComponent( int id, byte[] data )
31     {
32     super( id, data ) ;
33     }
34     
35     /**
36      * @return org.omg.IOP.TaggedComponent
37      * @exception
38      * @author
39      */

40     public org.omg.IOP.TaggedComponent JavaDoc getIOPComponent( ORB JavaDoc orb )
41     {
42     return new org.omg.IOP.TaggedComponent JavaDoc( getId(),
43         getData() ) ;
44     }
45 }
46
Popular Tags