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, portFields 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_SNDBUF, SO_TIMEOUT, TCP_NODELAY -
Constructor Summary
Constructors Constructor Description PlainServerSocketImpl()PlainServerSocketImpl(FileDescriptor fd) -
Method Summary
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, initLocalPort, initRemoteAddressAndPort, listen, sendUrgentData, setOption, shutdownInput, shutdownOutput, socksAccept, supportsUrgentDataMethods inherited from class java.net.SocketImpl
getFD$, getFileDescriptor, getInetAddress, getLocalPort, getPort, setPerformancePreferences, toString
-
Constructor Details
-
PlainServerSocketImpl
public PlainServerSocketImpl() -
PlainServerSocketImpl
-
-
Method Details
-
create
Description 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.
-