public class SocketConnection extends StreamConnection
| Constructor and Description |
|---|
SocketConnection(Socket socket) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected InputStream |
getInputStream() |
protected OutputStream |
getOutputStream() |
readResponse, sendMessagepublic SocketConnection(Socket socket)
public void close()
throws IOException
IOExceptionprotected InputStream getInputStream() throws IOException
getInputStream in class StreamConnectionIOExceptionprotected OutputStream getOutputStream() throws IOException
getOutputStream in class StreamConnectionIOException