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 int
private byte[][]
private int[]
private static final long
private byte[]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
appendByteArray
(StringBuilder result, byte[] data) void
doRead
(ObjectInputStream stream) void
doWrite
(ObjectOutputStream stream) private boolean
equalArrays
(byte[][] data1, byte[][] data2) boolean
getDelegate
(ORB orb) int
hashCode()
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:
IOException
ClassNotFoundException
-
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, ...]"
-