Class ryw.XClient
All Packages Class Hierarchy This Package Previous Next Index
Class ryw.XClient
java.lang.Object
|
+----ryw.XClient
- public class XClient
- extends Object
- implements Runnable
A client object that connects, reads, and writes from a server
in a thread.
-
dins
-
-
douts
-
-
ins
-
-
outs
-
-
pouts
-
-
XClient()
-
-
connect(String, int)
-
-
readFromServer()
-
-
reset()
-
-
run()
-
-
sendLoop()
-
-
sendToServer()
-
-
start()
-
-
stop()
-
-
tryConnect(String, int, int)
-
-
tryReconnect()
-
ins
protected InputStream ins
outs
protected OutputStream outs
dins
protected DataInputStream dins
douts
protected DataOutputStream douts
pouts
protected PrintStream pouts
XClient
public XClient()
connect
public synchronized void connect(String host,
int port) throws IOException
reset
public synchronized void reset()
tryConnect
public synchronized void tryConnect(String host,
int port,
int retryInter)
tryReconnect
public synchronized void tryReconnect()
start
public synchronized void start()
stop
public synchronized void stop()
run
public synchronized void run()
sendLoop
public synchronized void sendLoop()
readFromServer
public abstract void readFromServer() throws IOException
sendToServer
public abstract void sendToServer() throws IOException
All Packages Class Hierarchy This Package Previous Next Index