| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IClientConnection
Provides access to methods and properties implemented by datalinks and consumed by the Tracking Server.
| Method Summary | |
|---|---|
|  void | disconnect()Disconnects client connection. | 
|  int | getClientQueueCount()Number of connections in client queue. | 
|  Object | getDataFilters()Defines data filters in client connection. | 
|  String | getID()Defines data's ID value in client connection. | 
|  String | getName()Defines dataset name in client connection. | 
|  int | getServerQueueCount()Number of connections in server queue. | 
|  int | getStatus()Indicates status of the client connection. | 
|  Object | getTimeEstablished()Indicates time connection was established. | 
|  int | getTotalClientMessageCount()Total number of client messages. | 
|  int | getTotalServerMessageCount()Total number of server messages. | 
|  IMessage | popClientMessage(int nTimeOut)Obtain next message from the client queue. | 
|  void | postClientMessage(IMessage piMessage)Post a client message to server queue. | 
|  void | setName(String pVal)Defines dataset name in client connection. | 
| Method Detail | 
|---|
Object getDataFilters()
                      throws IOException,
                             AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String getID()
             throws IOException,
                    AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String getName()
               throws IOException,
                      AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setName(String pVal)
             throws IOException,
                    AutomationException
pVal - The pVal  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int getServerQueueCount()
                        throws IOException,
                               AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int getClientQueueCount()
                        throws IOException,
                               AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
Object getTimeEstablished()
                          throws IOException,
                                 AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int getTotalServerMessageCount()
                               throws IOException,
                                      AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int getTotalClientMessageCount()
                               throws IOException,
                                      AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int getStatus()
              throws IOException,
                     AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void disconnect()
                throws IOException,
                       AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void postClientMessage(IMessage piMessage)
                       throws IOException,
                              AutomationException
The postMessage method posts a message to the Tracking Server's queue. This method is only valid if the Status is CONNECTED.
piMessage - A reference to a com.esri.arcgis.trackinganalyst.IMessage  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IMessage popClientMessage(int nTimeOut)
                          throws IOException,
                                 AutomationException
The popMessage method returns a message from the Client's message queue if a message is available. Returns S_OK on success; S_FALSE if the timeout occurs; otherwise E_FAIL or E_UNEXPECTED. This method is only valid if the Status is CONNECTED.
nTimeOut - The nTimeOut  (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 | ||||||||