|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.carto.GpsConnection
public class GpsConnection
Used to establish a connection to the computer's communication port.
| Constructor Summary | |
|---|---|
GpsConnection()
Constructs a GpsConnection using ArcGIS Engine. |
|
GpsConnection(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. GpsConnection theGpsConnection = (GpsConnection) obj; |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
short |
getBaudRate()
The baud rate for the communications port connected to the GPS receiver. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
short |
getCommPort()
The communications port connected to the GPS receiver. |
short |
getDataBits()
The data bits setting for the communications port connected to the GPS receiver. |
int |
getParity()
The parity setting for the communications port connected to the GPS receiver. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
int |
getStopBits()
The stop bits setting for the communications port connected to the GPS receiver. |
int |
hashCode()
the hashcode for this object |
void |
isDirty()
isDirty |
void |
load(IStream pstm)
load |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setBaudRate(short pRate)
The baud rate for the communications port connected to the GPS receiver. |
void |
setCommPort(short pNumber)
The communications port connected to the GPS receiver. |
void |
setDataBits(short pDataBits)
The data bits setting for the communications port connected to the GPS receiver. |
void |
setParity(int pParity)
The parity setting for the communications port connected to the GPS receiver. |
void |
setStopBits(int pStopBits)
The stop bits setting for the communications port connected to the GPS receiver. |
void |
writeExternal(ObjectOutput out)
|
| 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 GpsConnection()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public GpsConnection(Object obj)
throws IOException
GpsConnection theGpsConnection = (GpsConnection) obj;
obj to GpsConnection.
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 short getCommPort()
throws IOException,
AutomationException
getCommPort in interface IGpsConnectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCommPort(short pNumber)
throws IOException,
AutomationException
setCommPort in interface IGpsConnectionpNumber - The pNumber (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public short getBaudRate()
throws IOException,
AutomationException
Specifies the baud rate of the GPS connection. The values correspond to values in the esriGpsBaudRate enumeration. In many cases this value will be the actual baud rate, but baud rates higher than 19200 will correspond to lower values in the enumeration since the property is represented as a 16 bit integer.
getBaudRate in interface IGpsConnectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBaudRate(short pRate)
throws IOException,
AutomationException
setBaudRate in interface IGpsConnectionpRate - The pRate (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public short getDataBits()
throws IOException,
AutomationException
getDataBits in interface IGpsConnectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDataBits(short pDataBits)
throws IOException,
AutomationException
setDataBits in interface IGpsConnectionpDataBits - The pDataBits (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getStopBits()
throws IOException,
AutomationException
getStopBits in interface IGpsConnectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setStopBits(int pStopBits)
throws IOException,
AutomationException
setStopBits in interface IGpsConnectionpStopBits - A com.esri.arcgis.carto.esriGpsStopBits constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getParity()
throws IOException,
AutomationException
getParity in interface IGpsConnectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setParity(int pParity)
throws IOException,
AutomationException
setParity in interface IGpsConnectionpParity - A com.esri.arcgis.carto.esriGpsParity constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load in interface IPersistStreampstm - 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 save(IStream pstm,
int fClearDirty)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getClassID(GUID[] pClassID)
throws IOException,
AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||