/*
* @(#)GenericTaggedComponent.java 1.10 05/11/17
*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package com.sun.corba.se.impl.ior;
import org.omg.CORBA.ORB ;
import org.omg.CORBA_2_3.portable.InputStream ;
import org.omg.CORBA_2_3.portable.OutputStream ;
import com.sun.corba.se.spi.ior.iiop.GIOPVersion ;
import com.sun.corba.se.spi.ior.TaggedComponent ;
/**
* @author
*/
public class GenericTaggedComponent extends GenericIdentifiable
implements TaggedComponent
{
public GenericTaggedComponent( int id, InputStream is )
{
super( id, is ) ;
}
public GenericTaggedComponent( int id, byte[] data )
{
super( id, data ) ;
}
/**
* @return org.omg.IOP.TaggedComponent
* @exception
* @author
*/
public org.omg.IOP.TaggedComponent getIOPComponent( ORB orb )
{
return new org.omg.IOP.TaggedComponent( getId(),
getData() ) ;
}
}
|