public class Message extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IMessage, ISupportErrorInfo
Description 'A serializable object that represents a request or response message.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
IID, IIDe4e5591d_c47e_4a2d_856e_8a1847547a97, xxDummy
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
Constructor and Description |
---|
Message()
Constructs a Message using ArcGIS Engine.
|
Message(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
Message theMessage = (Message) obj; |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
static java.lang.String |
getClsid()
getClsid.
|
IErrorInfo |
getErrorInfo()
Valid when the message is a fault.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
java.lang.String |
getName()
Name of the message.
|
java.lang.String |
getNamespaceURI()
Namespace of the message.
|
IXMLSerializeData |
getParameters()
Parameters of the message.
|
IPropertySet |
getProperties()
Properties of the message.
|
int |
getResult()
HRESULT of the Message.
|
int |
hashCode()
the hashcode for this object
|
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo
|
void |
readXML(IStream stream)
Reads an XML input stream for a message.
|
void |
release()
Release this COM object reference
|
void |
setError(int hresult,
IErrorInfo pErrorInfo)
Writes error information.
|
void |
setName(java.lang.String messageName)
Name of the message.
|
void |
setNamespaceURI(java.lang.String uri)
Namespace of the message.
|
void |
setPropertiesByRef(IPropertySet props)
Properties of the message.
|
void |
writeXML(IStream stream)
Writes an XML output stream for a message.
|
public Message() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic Message(java.lang.Object obj) throws java.io.IOException
Message theMessage = (Message) obj;
obj
to Message
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public java.lang.String getName() throws java.io.IOException, AutomationException
getName
in interface IMessage
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setName(java.lang.String messageName) throws java.io.IOException, AutomationException
setName
in interface IMessage
messageName
- The messageName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getNamespaceURI() throws java.io.IOException, AutomationException
getNamespaceURI
in interface IMessage
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setNamespaceURI(java.lang.String uri) throws java.io.IOException, AutomationException
setNamespaceURI
in interface IMessage
uri
- The uri (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IXMLSerializeData getParameters() throws java.io.IOException, AutomationException
getParameters
in interface IMessage
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IPropertySet getProperties() throws java.io.IOException, AutomationException
getProperties
in interface IMessage
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setPropertiesByRef(IPropertySet props) throws java.io.IOException, AutomationException
setPropertiesByRef
in interface IMessage
props
- A reference to a com.esri.arcgis.system.IPropertySet (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getResult() throws java.io.IOException, AutomationException
getResult
in interface IMessage
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IErrorInfo getErrorInfo() throws java.io.IOException, AutomationException
getErrorInfo
in interface IMessage
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setError(int hresult, IErrorInfo pErrorInfo) throws java.io.IOException, AutomationException
setError
in interface IMessage
hresult
- The hresult (in)pErrorInfo
- A reference to a com.esri.arcgis.system.IErrorInfo (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void readXML(IStream stream) throws java.io.IOException, AutomationException
readXML
in interface IMessage
stream
- A reference to a com.esri.arcgis.system.IStream (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeXML(IStream stream) throws java.io.IOException, AutomationException
writeXML
in interface IMessage
stream
- A reference to a com.esri.arcgis.system.IStream (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.