public class SocketWrappedChannel extends Socket
Modifier and Type | Method and Description |
---|---|
void |
close() |
InputStream |
getInputStream() |
OutputStream |
getOutputStream() |
bind, connect, connect, getChannel, getInetAddress, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setKeepAlive, setOOBInline, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSocketImplFactory, setSoLinger, setSoTimeout, setTcpNoDelay, setTrafficClass, shutdownInput, shutdownOutput, toString
public InputStream getInputStream() throws IOException
getInputStream
in class Socket
IOException
public OutputStream getOutputStream() throws IOException
getOutputStream
in class Socket
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class Socket
IOException
Copyright © 2024. All rights reserved.