:orphan: .. **************************************************************************** .. CUI .. .. The Advanced Framework for Simulation, Integration, and Modeling (AFSIM) .. .. The use, dissemination or disclosure of data in this file is subject to .. limitation or restriction. See accompanying README and LICENSE for details. .. **************************************************************************** WsfXIO_Connection ----------------- .. class:: WsfXIO_Connection WsfXIO_Connection provides methods that operate on an XIO connection. WsfXIO_Connection objects cannot be constructed but are accessed using the :class:`WsfXIO` script class. Methods ======= .. method:: void Execute(string aFunctionName, Array aParams) Executes a function local to the connected application. aFunctionName should be the name of a global script function. The connected application should execute the function with the given arguments. User must take care to supply the correct number and type of arguments for the method. Arguments are only supported for a limited set of types including string, int, double, :class:`Array\`, :class:`WsfTrackId`, :class:`WsfTrack`, :class:`WsfLocalTrack`, and :class:`WsfGeoPoint`. .. method:: string Name() Returns the name of the connected application. This is the value specified with the :command:`xio_interface.application` command. .. method:: int Index() Returns the index of the connection.