FileDocCategorySizeDatePackage
RequestPartitioningComponentImpl.javaAPI DocJava SE 5 API2050Fri Aug 26 14:54:24 BST 2005com.sun.corba.se.impl.ior.iiop

RequestPartitioningComponentImpl

public class RequestPartitioningComponentImpl extends com.sun.corba.se.spi.ior.TaggedComponentBase implements com.sun.corba.se.spi.ior.iiop.RequestPartitioningComponent
(#)RequestPartitioningComponentImpl.java
1.2 04/06/04

Fields Summary
private static com.sun.corba.se.impl.logging.ORBUtilSystemException
wrapper
private int
partitionToUse
Constructors Summary
public RequestPartitioningComponentImpl()

        partitionToUse = 0;
    
public RequestPartitioningComponentImpl(int thePartitionToUse)

	if (thePartitionToUse < ORBConstants.REQUEST_PARTITIONING_MIN_THREAD_POOL_ID ||
	    thePartitionToUse > ORBConstants.REQUEST_PARTITIONING_MAX_THREAD_POOL_ID) {
	    throw wrapper.invalidRequestPartitioningComponentValue(
		  new Integer(thePartitionToUse),
		  new Integer(ORBConstants.REQUEST_PARTITIONING_MIN_THREAD_POOL_ID),
		  new Integer(ORBConstants.REQUEST_PARTITIONING_MAX_THREAD_POOL_ID));
	}
        partitionToUse = thePartitionToUse;
    
Methods Summary
public booleanequals(java.lang.Object obj)


       
    
	if (!(obj instanceof RequestPartitioningComponentImpl))
	    return false ;

	RequestPartitioningComponentImpl other = 
	    (RequestPartitioningComponentImpl)obj ;

	return partitionToUse == other.partitionToUse ;
    
public intgetId()

	return ORBConstants.TAG_REQUEST_PARTITIONING_ID;
    
public intgetRequestPartitioningId()

	return partitionToUse;
    
public inthashCode()

	return partitionToUse;
    
public java.lang.StringtoString()

	return "RequestPartitioningComponentImpl[partitionToUse=" + partitionToUse + "]" ;
    
public voidwriteContents(org.omg.CORBA_2_3.portable.OutputStream os)

        os.write_ulong(partitionToUse);