Package java.net
Class PlainServerSocketImpl
- java.lang.Object
-
- java.net.SocketImpl
-
- java.net.PlainSocketImpl
-
- java.net.PlainServerSocketImpl
-
- All Implemented Interfaces:
SocketOptions
public class PlainServerSocketImpl extends PlainSocketImpl
-
-
Field Summary
-
Fields inherited from class java.net.SocketImpl
address, fd, localport, port
-
Fields inherited from interface java.net.SocketOptions
IP_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_REUSEPORT, SO_SNDBUF, SO_TIMEOUT, TCP_NODELAY
-
-
Constructor Summary
Constructors Constructor Description PlainServerSocketImpl()PlainServerSocketImpl(FileDescriptor fd)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcreate(boolean isStreaming)Creates a new unconnected socket.-
Methods inherited from class java.net.PlainSocketImpl
accept, available, bind, close, connect, connect, connect, finalize, getInputStream, getOption, getOutputStream, listen, onBind, onClose, onConnect, sendUrgentData, setOption, shutdownInput, shutdownOutput, socksAccept, supportsUrgentData
-
Methods inherited from class java.net.SocketImpl
getFD$, getFileDescriptor, getInetAddress, getLocalPort, getPort, setPerformancePreferences, toString
-
-
-
-
Constructor Detail
-
PlainServerSocketImpl
public PlainServerSocketImpl()
-
PlainServerSocketImpl
public PlainServerSocketImpl(FileDescriptor fd)
-
-
Method Detail
-
create
protected void create(boolean isStreaming) throws IOExceptionDescription copied from class:SocketImplCreates a new unconnected socket. The argumentisStreamingdefines whether the new socket is a streaming or a datagram socket.- Overrides:
createin classPlainSocketImpl- Parameters:
isStreaming- defines whether the type of the new socket is streaming or datagram.- Throws:
IOException- if an error occurs while creating the socket.
-
-