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()
ObjectKeyTemplate
getAdapterId
in interface ObjectKeyTemplate
public int getSubcontractId()
ObjectKeyTemplate
getSubcontractId
in interface ObjectKeyTemplate
public int getServerId()
ObjectKeyTemplate
getServerId
in interface ObjectKeyTemplate
public String getORBId()
ObjectKeyTemplate
getORBId
in interface ObjectKeyTemplate
public ObjectAdapterId getObjectAdapterId()
ObjectKeyTemplate
getObjectAdapterId
in interface ObjectKeyTemplate
public void write(ObjectId objectId, OutputStream os)
write
in interface ObjectKeyTemplate
public void write(OutputStream os)
Writeable
protected abstract void writeTemplate(OutputStream os)
protected int getMagic()
public void setORBVersion(ORBVersion version)
public ORBVersion getORBVersion()
getORBVersion
in interface ObjectKeyTemplate
protected byte[] readObjectKey(InputStream is)
public CorbaServerRequestDispatcher getServerRequestDispatcher(ORB orb, ObjectId id)
getServerRequestDispatcher
in interface ObjectKeyTemplate
Copyright © 2019 JBoss by Red Hat. All rights reserved.