public class SocketHolder extends Object
| 构造器和说明 |
|---|
SocketHolder(Socket socket) |
| 限定符和类型 | 方法和说明 |
|---|---|
InputStream |
getInputStream() |
protected InputStream |
getInputStream(Socket socket) |
OutputStream |
getOutputStream() |
protected OutputStream |
getOutputStream(Socket socket) |
Socket |
getSocket() |
String |
toString() |
public SocketHolder(Socket socket)
public final Socket getSocket()
public final InputStream getInputStream() throws IOException
IOExceptionprotected InputStream getInputStream(Socket socket) throws IOException
IOExceptionprotected OutputStream getOutputStream(Socket socket) throws IOException
IOExceptionpublic final OutputStream getOutputStream() throws IOException
IOExceptionCopyright © 2023. All rights reserved.