public abstract class ObjectKeyTemplateBase extends Object implements ObjectKeyTemplate
| Modifier and Type | Field and Description |
|---|---|
static ObjectAdapterId |
JIDL_OAID |
static String |
JIDL_ORB_ID |
protected IORSystemException |
wrapper |
| Constructor and Description |
|---|
ObjectKeyTemplateBase(ORB orb,
int magic,
int scid,
int serverid,
String orbid,
ObjectAdapterId oaid) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
byte[] |
getAdapterId()
Compute an adapter ID for this template than includes
all of the template information.
|
protected int |
getMagic() |
ObjectAdapterId |
getObjectAdapterId()
Return the object adapter ID for this template.
|
String |
getORBId()
Return the ORB ID for this template.
|
ORBVersion |
getORBVersion() |
int |
getServerId()
Return the server ID for this template.
|
CorbaServerRequestDispatcher |
getServerRequestDispatcher(ORB orb,
ObjectId id) |
int |
getSubcontractId()
An ID used to determine how to perform operations on this
ObjectKeyTemplate.
|
int |
hashCode() |
protected byte[] |
readObjectKey(InputStream is) |
void |
setORBVersion(ORBVersion version) |
void |
write(ObjectId objectId,
OutputStream os) |
void |
write(OutputStream os)
Write this object directly to the output stream.
|
protected abstract void |
writeTemplate(OutputStream os) |
public static final String JIDL_ORB_ID
public static final ObjectAdapterId JIDL_OAID
protected IORSystemException wrapper
public ObjectKeyTemplateBase(ORB orb, int magic, int scid, int serverid, String orbid, ObjectAdapterId oaid)
public byte[] getAdapterId()
ObjectKeyTemplategetAdapterId in interface ObjectKeyTemplatepublic int getSubcontractId()
ObjectKeyTemplategetSubcontractId in interface ObjectKeyTemplatepublic int getServerId()
ObjectKeyTemplategetServerId in interface ObjectKeyTemplatepublic String getORBId()
ObjectKeyTemplategetORBId in interface ObjectKeyTemplatepublic ObjectAdapterId getObjectAdapterId()
ObjectKeyTemplategetObjectAdapterId in interface ObjectKeyTemplatepublic void write(ObjectId objectId, OutputStream os)
write in interface ObjectKeyTemplatepublic void write(OutputStream os)
Writeableprotected abstract void writeTemplate(OutputStream os)
protected int getMagic()
public void setORBVersion(ORBVersion version)
public ORBVersion getORBVersion()
getORBVersion in interface ObjectKeyTemplateprotected byte[] readObjectKey(InputStream is)
public CorbaServerRequestDispatcher getServerRequestDispatcher(ORB orb, ObjectId id)
getServerRequestDispatcher in interface ObjectKeyTemplateCopyright © 2017 JBoss by Red Hat. All rights reserved.