Class WireObjectKeyTemplate
java.lang.Object
com.sun.corba.ee.impl.ior.WireObjectKeyTemplate
- All Implemented Interfaces:
ObjectKeyTemplate, Writeable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static ObjectAdapterIdprivate ORBprivate static final IORSystemException -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbyte[]Compute an adapter ID for this template than includes all of the template information.Return the object adapter ID for this template.getORBId()Return the ORB ID for this template.intReturn the server ID for this template.intAn ID used to determine how to perform operations on this ObjectKeyTemplate.inthashCode()private voidvoidwrite(ObjectId id, OutputStream os) voidwrite(OutputStream os) Write this object directly to the output stream.
-
Field Details
-
orb
-
wrapper
-
NULL_OBJECT_ADAPTER_ID
-
-
Constructor Details
-
WireObjectKeyTemplate
-
-
Method Details
-
equals
-
hashCode
-
initORB
-
write
- Specified by:
writein interfaceObjectKeyTemplate
-
write
Description copied from interface:WriteableWrite this object directly to the output stream. -
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- Returns:
- The subcontract ID
-
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- Returns:
- The ID of the server that handles requests to this IOR"
-
getORBId
Description copied from interface:ObjectKeyTemplateReturn the ORB ID for this template.- Specified by:
getORBIdin interfaceObjectKeyTemplate- Returns:
- the ORB ID that created this IOR
-
getObjectAdapterId
Description copied from interface:ObjectKeyTemplateReturn the object adapter ID for this template.- Specified by:
getObjectAdapterIdin interfaceObjectKeyTemplate- Returns:
- The ObjectAdapterId that identifies the ObjectAdapter that created this IOR
-
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- Returns:
- adapter ID for this template
-
getORBVersion
- Specified by:
getORBVersionin interfaceObjectKeyTemplate
-
getServerRequestDispatcher
- Specified by:
getServerRequestDispatcherin interfaceObjectKeyTemplate
-