|
|||||||||
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
A serializable object that represents a request or response message.
Constructor Summary | |
---|---|
Message()
Constructs a Message using ArcGIS Engine. |
|
Message(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. Message theMessage = (Message) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
IErrorInfo |
getErrorInfo()
Valid when the message is a fault. |
String |
getName()
Name of the message. |
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 |
setError(int hresult,
IErrorInfo pErrorInfo)
Writes error information. |
void |
setName(String messageName)
Name of the message. |
void |
setNamespaceURI(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 |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public Message() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic Message(Object obj) throws IOException
Message theMessage = (Message) obj;
obj
to Message
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String getName() throws IOException, AutomationException
getName
in interface IMessage
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setName(String messageName) throws IOException, AutomationException
setName
in interface IMessage
messageName
- The messageName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getNamespaceURI() throws IOException, AutomationException
getNamespaceURI
in interface IMessage
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNamespaceURI(String uri) throws IOException, AutomationException
setNamespaceURI
in interface IMessage
uri
- The uri (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IXMLSerializeData getParameters() throws IOException, AutomationException
getParameters
in interface IMessage
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPropertySet getProperties() throws IOException, AutomationException
getProperties
in interface IMessage
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPropertiesByRef(IPropertySet props) throws IOException, AutomationException
setPropertiesByRef
in interface IMessage
props
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getResult() throws IOException, AutomationException
getResult
in interface IMessage
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IErrorInfo getErrorInfo() throws IOException, AutomationException
getErrorInfo
in interface IMessage
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setError(int hresult, IErrorInfo pErrorInfo) throws IOException, AutomationException
setError
in interface IMessage
hresult
- The hresult (in)pErrorInfo
- A reference to a com.esri.arcgis.system.IErrorInfo (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void readXML(IStream stream) throws IOException, AutomationException
readXML
in interface IMessage
stream
- A reference to a com.esri.arcgis.system.IStream (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeXML(IStream stream) throws IOException, AutomationException
writeXML
in interface IMessage
stream
- A reference to a com.esri.arcgis.system.IStream (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws IOException, AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
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 |