Class AbstractSocketWrapper
- java.lang.Object
- 
- java.net.Socket
- 
- org.eclipse.ecf.provider.filetransfer.events.socket.AbstractSocketWrapper
 
 
- 
- All Implemented Interfaces:
- Closeable,- AutoCloseable
 
 public abstract class AbstractSocketWrapper extends Socket 
- 
- 
Constructor SummaryConstructors Constructor Description AbstractSocketWrapper(Socket socket)
 - 
Method Summary- 
Methods inherited from class java.net.SocketgetChannel, getOption, setOption, setPerformancePreferences, setSocketImplFactory, supportedOptions
 
- 
 
- 
- 
- 
Constructor Detail- 
AbstractSocketWrapperpublic AbstractSocketWrapper(Socket socket) - Parameters:
- socket- for the wrapper
 
 
- 
 - 
Method Detail- 
checkCancelprotected void checkCancel() throws IOException- Throws:
- IOException- if some problem
 
 - 
getSocketpublic Socket getSocket() 
 - 
bindpublic void bind(SocketAddress bindpoint) throws IOException - Overrides:
- bindin class- Socket
- Throws:
- IOException
 
 - 
closepublic void close() throws IOException- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Overrides:
- closein class- Socket
- Throws:
- IOException
 
 - 
connectpublic void connect(SocketAddress endpoint, int timeout) throws IOException - Overrides:
- connectin class- Socket
- Throws:
- IOException
 
 - 
connectpublic void connect(SocketAddress endpoint) throws IOException - Overrides:
- connectin class- Socket
- Throws:
- IOException
 
 - 
getInetAddresspublic InetAddress getInetAddress() - Overrides:
- getInetAddressin class- Socket
 
 - 
getInputStreampublic InputStream getInputStream() throws IOException - Overrides:
- getInputStreamin class- Socket
- Throws:
- IOException
 
 - 
getKeepAlivepublic boolean getKeepAlive() throws SocketException- Overrides:
- getKeepAlivein class- Socket
- Throws:
- SocketException
 
 - 
getLocalAddresspublic InetAddress getLocalAddress() - Overrides:
- getLocalAddressin class- Socket
 
 - 
getLocalPortpublic int getLocalPort() - Overrides:
- getLocalPortin class- Socket
 
 - 
getLocalSocketAddresspublic SocketAddress getLocalSocketAddress() - Overrides:
- getLocalSocketAddressin class- Socket
 
 - 
getOOBInlinepublic boolean getOOBInline() throws SocketException- Overrides:
- getOOBInlinein class- Socket
- Throws:
- SocketException
 
 - 
getOutputStreampublic OutputStream getOutputStream() throws IOException - Overrides:
- getOutputStreamin class- Socket
- Throws:
- IOException
 
 - 
getReceiveBufferSizepublic int getReceiveBufferSize() throws SocketException- Overrides:
- getReceiveBufferSizein class- Socket
- Throws:
- SocketException
 
 - 
getRemoteSocketAddresspublic SocketAddress getRemoteSocketAddress() - Overrides:
- getRemoteSocketAddressin class- Socket
 
 - 
getReuseAddresspublic boolean getReuseAddress() throws SocketException- Overrides:
- getReuseAddressin class- Socket
- Throws:
- SocketException
 
 - 
getSendBufferSizepublic int getSendBufferSize() throws SocketException- Overrides:
- getSendBufferSizein class- Socket
- Throws:
- SocketException
 
 - 
getSoLingerpublic int getSoLinger() throws SocketException- Overrides:
- getSoLingerin class- Socket
- Throws:
- SocketException
 
 - 
getSoTimeoutpublic int getSoTimeout() throws SocketException- Overrides:
- getSoTimeoutin class- Socket
- Throws:
- SocketException
 
 - 
getTcpNoDelaypublic boolean getTcpNoDelay() throws SocketException- Overrides:
- getTcpNoDelayin class- Socket
- Throws:
- SocketException
 
 - 
getTrafficClasspublic int getTrafficClass() throws SocketException- Overrides:
- getTrafficClassin class- Socket
- Throws:
- SocketException
 
 - 
isConnectedpublic boolean isConnected() - Overrides:
- isConnectedin class- Socket
 
 - 
isInputShutdownpublic boolean isInputShutdown() - Overrides:
- isInputShutdownin class- Socket
 
 - 
isOutputShutdownpublic boolean isOutputShutdown() - Overrides:
- isOutputShutdownin class- Socket
 
 - 
sendUrgentDatapublic void sendUrgentData(int data) throws IOException- Overrides:
- sendUrgentDatain class- Socket
- Throws:
- IOException
 
 - 
setKeepAlivepublic void setKeepAlive(boolean on) throws SocketException- Overrides:
- setKeepAlivein class- Socket
- Throws:
- SocketException
 
 - 
setOOBInlinepublic void setOOBInline(boolean on) throws SocketException- Overrides:
- setOOBInlinein class- Socket
- Throws:
- SocketException
 
 - 
setReceiveBufferSizepublic void setReceiveBufferSize(int size) throws SocketException- Overrides:
- setReceiveBufferSizein class- Socket
- Throws:
- SocketException
 
 - 
setReuseAddresspublic void setReuseAddress(boolean on) throws SocketException- Overrides:
- setReuseAddressin class- Socket
- Throws:
- SocketException
 
 - 
setSendBufferSizepublic void setSendBufferSize(int size) throws SocketException- Overrides:
- setSendBufferSizein class- Socket
- Throws:
- SocketException
 
 - 
setSoLingerpublic void setSoLinger(boolean on, int linger) throws SocketException- Overrides:
- setSoLingerin class- Socket
- Throws:
- SocketException
 
 - 
setSoTimeoutpublic void setSoTimeout(int timeout) throws SocketException- Overrides:
- setSoTimeoutin class- Socket
- Throws:
- SocketException
 
 - 
setTcpNoDelaypublic void setTcpNoDelay(boolean on) throws SocketException- Overrides:
- setTcpNoDelayin class- Socket
- Throws:
- SocketException
 
 - 
setTrafficClasspublic void setTrafficClass(int tc) throws SocketException- Overrides:
- setTrafficClassin class- Socket
- Throws:
- SocketException
 
 - 
shutdownInputpublic void shutdownInput() throws IOException- Overrides:
- shutdownInputin class- Socket
- Throws:
- IOException
 
 - 
shutdownOutputpublic void shutdownOutput() throws IOException- Overrides:
- shutdownOutputin class- Socket
- Throws:
- IOException
 
 
- 
 
-