|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.crsh.util.AbstractSocketClient
public abstract class AbstractSocketClient
Field Summary | |
---|---|
private InputStream |
in . |
private OutputStream |
out . |
private int |
port . |
private Socket |
socket . |
Constructor Summary | |
---|---|
AbstractSocketClient(int port) |
Method Summary | |
---|---|
void |
close() |
void |
connect() |
protected abstract void |
handle(InputStream in, OutputStream out) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int port
private Socket socket
private InputStream in
private OutputStream out
Constructor Detail |
---|
public AbstractSocketClient(int port)
Method Detail |
---|
public final void connect() throws IOException
IOException
protected abstract void handle(InputStream in, OutputStream out) throws IOException
IOException
public final void close()
close
in interface Closeable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |