Package com.sun.corba.se.impl.ior
Class ObjectKeyTemplateBase
java.lang.Object
com.sun.corba.se.impl.ior.ObjectKeyTemplateBase
- All Implemented Interfaces:
ObjectKeyTemplate,Writeable
- Direct Known Subclasses:
NewObjectKeyTemplateBase,OldObjectKeyTemplateBase
- Author:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ObjectAdapterIdstatic final Stringprotected IORSystemException -
Constructor Summary
ConstructorsConstructorDescriptionObjectKeyTemplateBase(ORB orb, int magic, int scid, int serverid, String orbid, ObjectAdapterId oaid) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbyte[]Compute an adapter ID for this template than includes all of the template information.protected intgetMagic()Return the object adapter ID for this template.getORBId()Return the ORB ID for this template.intReturn the server ID for this template.getServerRequestDispatcher(ORB orb, ObjectId id) intAn ID used to determine how to perform operations on this ObjectKeyTemplate.inthashCode()protected byte[]voidsetORBVersion(ORBVersion version) voidwrite(ObjectId objectId, OutputStream os) voidwrite(OutputStream os) Write this object directly to the output stream.protected abstract void
-
Field Details
-
JIDL_ORB_ID
- See Also:
-
JIDL_OAID
-
wrapper
-
-
Constructor Details
-
ObjectKeyTemplateBase
public ObjectKeyTemplateBase(ORB orb, int magic, int scid, int serverid, String orbid, ObjectAdapterId oaid)
-
-
Method Details
-
getAdapterId
public byte[] getAdapterId()Description copied from interface:ObjectKeyTemplateCompute an adapter ID for this template than includes all of the template information. This value is cached to avoid the expense of recomputing it.- Specified by:
getAdapterIdin interfaceObjectKeyTemplate
-
equals
-
hashCode
public int hashCode() -
getSubcontractId
public int getSubcontractId()Description copied from interface:ObjectKeyTemplateAn ID used to determine how to perform operations on this ObjectKeyTemplate. This id determines how to process requests on this object reference, and what object adapter type to use.- Specified by:
getSubcontractIdin interfaceObjectKeyTemplate
-
getServerId
public int getServerId()Description copied from interface:ObjectKeyTemplateReturn the server ID for this template. For CORBA 3.0, this should be a String, but it is currently an int in the object key template.- Specified by:
getServerIdin interfaceObjectKeyTemplate
-
getORBId
Description copied from interface:ObjectKeyTemplateReturn the ORB ID for this template.- Specified by:
getORBIdin interfaceObjectKeyTemplate
-
getObjectAdapterId
Description copied from interface:ObjectKeyTemplateReturn the object adapter ID for this template.- Specified by:
getObjectAdapterIdin interfaceObjectKeyTemplate
-
write
- Specified by:
writein interfaceObjectKeyTemplate
-
write
Description copied from interface:WriteableWrite this object directly to the output stream. -
writeTemplate
-
getMagic
protected int getMagic() -
setORBVersion
-
getORBVersion
- Specified by:
getORBVersionin interfaceObjectKeyTemplate
-
readObjectKey
-
getServerRequestDispatcher
- Specified by:
getServerRequestDispatcherin interfaceObjectKeyTemplate
-