|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.system.Message
public class Message
COM Class 'Message'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriSystem.olb'
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 =
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.system.IMessage |
---|
IID, IIDe4e5591d_c47e_4a2d_856e_8a1847547a97, xxDummy |
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo |
---|
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy |
Constructor Summary | |
---|---|
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; |
Method Summary | |
---|---|
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()
Deprecated. Internal use only. |
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 a Message. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Message() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.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 Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public 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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |