|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGpsConnection
Provides access to members that control the connection properties of the communications port connected to a GPS receiver.
Method Summary | |
---|---|
short |
getBaudRate()
The baud rate for the communications port connected to the GPS receiver. |
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. |
int |
getStopBits()
The stop bits setting for the communications port connected to the GPS receiver. |
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. |
Method Detail |
---|
short getCommPort() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setCommPort(short pNumber) throws IOException, AutomationException
pNumber
- The pNumber (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setBaudRate(short pRate) throws IOException, AutomationException
pRate
- The pRate (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.short getDataBits() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDataBits(short pDataBits) throws IOException, AutomationException
pDataBits
- The pDataBits (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getStopBits() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setStopBits(int pStopBits) throws IOException, AutomationException
pStopBits
- A com.esri.arcgis.carto.esriGpsStopBits constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getParity() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setParity(int pParity) throws IOException, AutomationException
pParity
- A com.esri.arcgis.carto.esriGpsParity constant (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 |