DictClient Class Reference

Inherits java::io::Serializable.

Collaboration diagram for DictClient:

Collaboration graph
[legend]

List of all members.

Public Member Functions

synchronized String checkConnection () throws IOException, DictClientException
synchronized void close ()
synchronized ArrayList defineWord (String db, String word) throws IOException, DictClientException
 DictClient (String host, int port)
 DictClient (String host)
 DictClient ()
void finalize ()
synchronized ArrayList getDatabases () throws IOException, DictClientException
synchronized ArrayList getStrategies () throws IOException, DictClientException
synchronized ArrayList matchWord (String db, String strategy, String word) throws IOException, DictClientException
void setHost (String host)
void setPort (int port)

Private Member Functions

synchronized void connect () throws IOException, DictClientException
synchronized void fetchDatabases () throws IOException, DictClientException
synchronized void fetchStrategies () throws IOException, DictClientException
synchronized String status () throws IOException, DictClientException

Private Attributes

transient ArrayList< Databasedatabases
String host
transient String ident
transient BufferedReader in
transient PrintWriter out
int port
transient Socket sock
transient ArrayList< Strategystrategies

Static Private Attributes

static final boolean debug = false
static String DEFAULT_HOST = "localhost"
static int DEFAULT_PORT = 2628
static final long serialVersionUID = 1


Constructor & Destructor Documentation

DictClient (  ) 

DictClient ( String  host  ) 

DictClient ( String  host,
int  port 
)


Member Function Documentation

synchronized String checkConnection (  )  throws IOException, DictClientException

synchronized void close (  ) 

synchronized void connect (  )  throws IOException, DictClientException [private]

synchronized ArrayList defineWord ( String  db,
String  word 
) throws IOException, DictClientException

synchronized void fetchDatabases (  )  throws IOException, DictClientException [private]

synchronized void fetchStrategies (  )  throws IOException, DictClientException [private]

void finalize (  ) 

synchronized ArrayList getDatabases (  )  throws IOException, DictClientException

synchronized ArrayList getStrategies (  )  throws IOException, DictClientException

synchronized ArrayList matchWord ( String  db,
String  strategy,
String  word 
) throws IOException, DictClientException

void setHost ( String  host  ) 

void setPort ( int  port  ) 

synchronized String status (  )  throws IOException, DictClientException [private]


Member Data Documentation

transient ArrayList<Database> databases [private]

final boolean debug = false [static, private]

String DEFAULT_HOST = "localhost" [static, private]

int DEFAULT_PORT = 2628 [static, private]

String host [private]

transient String ident [private]

transient BufferedReader in [private]

transient PrintWriter out [private]

int port [private]

final long serialVersionUID = 1 [static, private]

transient Socket sock [private]

transient ArrayList<Strategy> strategies [private]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:42:31 2012 for Project Wonder by  doxygen 1.5.8