|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.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 problems
public 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 problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public String getName()
throws IOException,
AutomationException
getName in interface IMessageIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setName(String messageName)
throws IOException,
AutomationException
setName in interface IMessagemessageName - 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 IMessageIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setNamespaceURI(String uri)
throws IOException,
AutomationException
setNamespaceURI in interface IMessageuri - 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 IMessageIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPropertySet getProperties()
throws IOException,
AutomationException
getProperties in interface IMessageIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPropertiesByRef(IPropertySet props)
throws IOException,
AutomationException
setPropertiesByRef in interface IMessageprops - 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 IMessageIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IErrorInfo getErrorInfo()
throws IOException,
AutomationException
getErrorInfo in interface IMessageIOException - 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 IMessagehresult - 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 IMessagestream - 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 IMessagestream - 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 ISupportErrorInforiid - 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 | ||||||||