public class OrchidSocketImpl extends SocketImpl
address, fd, localport, portIP_MULTICAST_IF, IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS, SO_BINDADDR, SO_BROADCAST, SO_KEEPALIVE, SO_LINGER, SO_OOBINLINE, SO_RCVBUF, SO_REUSEADDR, SO_SNDBUF, SO_TIMEOUT, TCP_NODELAY| Modifier and Type | Method and Description |
|---|---|
protected void |
accept(SocketImpl s) |
protected int |
available() |
protected void |
bind(InetAddress host,
int port) |
protected void |
close() |
protected void |
connect(InetAddress address,
int port) |
protected void |
connect(SocketAddress address,
int timeout) |
protected void |
connect(String host,
int port) |
protected void |
create(boolean stream) |
protected InputStream |
getInputStream() |
Object |
getOption(int optID) |
protected OutputStream |
getOutputStream() |
protected void |
listen(int backlog) |
protected void |
sendUrgentData(int data) |
void |
setOption(int optID,
Object value) |
protected void |
shutdownInput() |
protected void |
shutdownOutput() |
getFileDescriptor, getInetAddress, getLocalPort, getPort, setPerformancePreferences, supportsUrgentData, toStringpublic void setOption(int optID,
Object value)
throws SocketException
SocketExceptionpublic Object getOption(int optID) throws SocketException
SocketExceptionprotected void create(boolean stream)
throws IOException
create in class SocketImplIOExceptionprotected void connect(String host, int port) throws IOException
connect in class SocketImplIOExceptionprotected void connect(InetAddress address, int port) throws IOException
connect in class SocketImplIOExceptionprotected void connect(SocketAddress address, int timeout) throws IOException
connect in class SocketImplIOExceptionprotected void bind(InetAddress host, int port) throws IOException
bind in class SocketImplIOExceptionprotected void listen(int backlog)
throws IOException
listen in class SocketImplIOExceptionprotected void accept(SocketImpl s) throws IOException
accept in class SocketImplIOExceptionprotected InputStream getInputStream() throws IOException
getInputStream in class SocketImplIOExceptionprotected OutputStream getOutputStream() throws IOException
getOutputStream in class SocketImplIOExceptionprotected int available()
throws IOException
available in class SocketImplIOExceptionprotected void close()
throws IOException
close in class SocketImplIOExceptionprotected void sendUrgentData(int data)
throws IOException
sendUrgentData in class SocketImplIOExceptionprotected void shutdownInput()
throws IOException
shutdownInput in class SocketImplIOExceptionprotected void shutdownOutput()
throws IOException
shutdownOutput in class SocketImplIOExceptionCopyright © 2015. All rights reserved.