Passage Server Java API
All Classes
Class WTableList
Constructor
  WTableList(WServer oServer)
Initializes a newly created WTableList object.

Parameters:
oServer - a WServer.
Methods
int AddTable(WTable oTable)
Adds the table to the list.

Parameters:
oTable - a WTable

Returns:
0 if the table is added successfully; -1 otherwise.
int GetTable(int TableNum, WTable oTable)
Gets the table from the list.

Parameters:
TableNum - the table number [0,1,2,...]
oTable - a WTable

Returns:
0 if the table is got successfully; -1 otherwise.
int GetNumOfTables()

Returns:
the number of tables in the list.
Example
  api_WTableList.java
© PASSAGE