FileDocCategorySizeDatePackage
ORBVersionServiceContext.javaAPI DocJava SE 5 API1836Fri Aug 26 14:54:40 BST 2005com.sun.corba.se.spi.servicecontext

ORBVersionServiceContext

public class ORBVersionServiceContext extends com.sun.corba.se.spi.servicecontext.ServiceContext

Fields Summary
public static final int
SERVICE_CONTEXT_ID
private com.sun.corba.se.spi.orb.ORBVersion
version
Constructors Summary
public ORBVersionServiceContext()

        version = ORBVersionFactory.getORBVersion() ;
    
public ORBVersionServiceContext(com.sun.corba.se.spi.orb.ORBVersion ver)

	this.version = ver ;
    
public ORBVersionServiceContext(org.omg.CORBA_2_3.portable.InputStream is, com.sun.corba.se.spi.ior.iiop.GIOPVersion gv)

	super(is, gv) ;
	// pay particular attention to where the version is being read from!
	// is contains an encapsulation, ServiceContext reads off the
	// encapsulation and leaves the pointer in the variable "in",
	// which points to the long value.

	version = ORBVersionFactory.create( in ) ;
    
Methods Summary
public intgetId()

        return SERVICE_CONTEXT_ID ; 
public com.sun.corba.se.spi.orb.ORBVersiongetVersion()

	return version ;
    
public java.lang.StringtoString()


       
    
	return "ORBVersionServiceContext[ version=" + version + " ]" ;
    
public voidwriteData(org.omg.CORBA_2_3.portable.OutputStream os)

	version.write( os ) ;