Package com.sun.corba.ee.impl.ior.iiop
Class LoadBalancingComponentImpl
- java.lang.Object
-
- com.sun.corba.ee.spi.ior.IdentifiableBase
-
- com.sun.corba.ee.spi.ior.TaggedComponentBase
-
- com.sun.corba.ee.impl.ior.iiop.LoadBalancingComponentImpl
-
- All Implemented Interfaces:
Identifiable
,LoadBalancingComponent
,TaggedComponent
,Writeable
,WriteContents
public class LoadBalancingComponentImpl extends TaggedComponentBase implements LoadBalancingComponent
-
-
Field Summary
Fields Modifier and Type Field Description private int
loadBalancingValue
private static ORBUtilSystemException
wrapper
-
Constructor Summary
Constructors Constructor Description LoadBalancingComponentImpl()
LoadBalancingComponentImpl(int theLoadBalancingValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
getId()
Return the (type) identity of this entity.int
getLoadBalancingValue()
int
hashCode()
java.lang.String
toString()
void
writeContents(OutputStream os)
-
Methods inherited from class com.sun.corba.ee.spi.ior.TaggedComponentBase
getIOPComponent
-
Methods inherited from class com.sun.corba.ee.spi.ior.IdentifiableBase
write
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.sun.corba.ee.spi.ior.TaggedComponent
getIOPComponent
-
-
-
-
Field Detail
-
wrapper
private static ORBUtilSystemException wrapper
-
loadBalancingValue
private int loadBalancingValue
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getLoadBalancingValue
public int getLoadBalancingValue()
- Specified by:
getLoadBalancingValue
in interfaceLoadBalancingComponent
-
writeContents
public void writeContents(OutputStream os)
- Specified by:
writeContents
in interfaceWriteContents
-
getId
public int getId()
Description copied from interface:Identifiable
Return the (type) identity of this entity.- Specified by:
getId
in interfaceIdentifiable
- Returns:
- int
-
-