Package com.sun.corba.se.impl.ior
Class WireObjectKeyTemplate
java.lang.Object
com.sun.corba.se.impl.ior.WireObjectKeyTemplate
- All Implemented Interfaces:
ObjectKeyTemplate,Writeable
- Author:
- Ken Cavanaugh
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbyte[]Adapter ID is not available, since our ORB did not implement the object carrying this key.Return the object adapter ID for this template.getORBId()Return the ORB ID for this template.intWhile it might make sense to throw an exception here, this causes problems since we need to check whether unusual object references are local or not.getServerRequestDispatcher(ORB orb, ObjectId id) intAn ID used to determine how to perform operations on this ObjectKeyTemplate.inthashCode()voidwrite(ObjectId id, OutputStream os) voidwrite(OutputStream os) Write this object directly to the output stream.
-
Constructor Details
-
WireObjectKeyTemplate
-
WireObjectKeyTemplate
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
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
-
getServerId
public int getServerId()While it might make sense to throw an exception here, this causes problems since we need to check whether unusual object references are local or not. It seems that the easiest way to handle this is to return an invalid server id.- 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
-
getAdapterId
public byte[] getAdapterId()Adapter ID is not available, since our ORB did not implement the object carrying this key.- Specified by:
getAdapterIdin interfaceObjectKeyTemplate
-
getORBVersion
- Specified by:
getORBVersionin interfaceObjectKeyTemplate
-
getServerRequestDispatcher
- Specified by:
getServerRequestDispatcherin interfaceObjectKeyTemplate
-