public class Socket extends Object implements Closeable
| Constructor and Description |
|---|
Socket(Socket socket) |
Socket(com.etsy.net.UnixDomainSocket unixDomainSocket) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
BufferedReader |
getInput() |
PrintWriter |
getOutput() |
public Socket(Socket socket)
public Socket(com.etsy.net.UnixDomainSocket unixDomainSocket)
public PrintWriter getOutput() throws IOException
IOExceptionpublic BufferedReader getInput() throws IOException
IOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2020. All rights reserved.