Package com.sun.corba.ee.impl.ior
Class StubIORImpl
java.lang.Object
com.sun.corba.ee.impl.ior.StubIORImpl
- All Implemented Interfaces:
Serializable
This class implements a very simply IOR representation
which must be completely ORBImpl free so that this class
can be used in the implementation of a portable StubDelegateImpl.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate byte[][]private int[]private static final longprivate byte[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidappendByteArray(StringBuilder result, byte[] data) voiddoRead(ObjectInputStream stream) voiddoWrite(ObjectOutputStream stream) private booleanequalArrays(byte[][] data1, byte[][] data2) booleangetDelegate(ORB orb) inthashCode()Returns a hash code value for the object which is the same for all stubs that represent the same remote object.toString()Returns a string representation of this stub.
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
hashCode
private transient int hashCode -
typeData
private byte[] typeData -
profileTags
private int[] profileTags -
profileData
private byte[][] profileData
-
-
Constructor Details
-
StubIORImpl
public StubIORImpl() -
StubIORImpl
-
-
Method Details
-
getRepositoryId
-
getDelegate
-
doRead
- Throws:
IOExceptionClassNotFoundException
-
doWrite
- Throws:
IOException
-
hashCode
public int hashCode()Returns a hash code value for the object which is the same for all stubs that represent the same remote object. -
equalArrays
private boolean equalArrays(byte[][] data1, byte[][] data2) -
equals
-
appendByteArray
-
toString
Returns a string representation of this stub. Returns the same string for all stubs that represent the same remote object."SimpleIORImpl[<typeName>,[<profileID>]data, ...]"
-