51914674f4
2003-10-11 Michael Koch <konqueror@gmx.de> * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl. * gnu/java/nio/ServerSocketChannelImpl.java (serverSocket): Made it a NIOServerSocket. (impl): Removed. (ServerSocketChannelImpl): Initialize only serverSocket. (initServerSocket): Removed. (getNativeFD): Rewritten. (implConfigureBlocking): Set socket timeout and removed comment. (accept): Rewritten. * gnu/java/nio/SocketChannelImpl.java (impl): New variable. (connected): Removed. (SocketChannelImpl): Initialize impl too. (getImpl): New method. (isConnected): Rewritten. (read): Rewritten, set position in buffer correctly. (write): Set position in buffer correctly. * java/net/ServerSocket.java (getImpl): New method. * gnu/java/nio/NIOServerSocket.java, gnu/java/nio/natNIOServerSocket.cc: New files. * gnu/java/nio/natServerSocketChannelImpl.cc: Removed. * Makefile.am (ordinary_java_source_files): Added gnu/java/nio/NIOServerSocket.java. (nat_source_files): Removed gnu/java/nio/natServerSocketChannelImpl.cc and added gnu/java/nio/natNIOServerSocket.cc. * Makefile.in: Regenerated. From-SVN: r72345 |
||
---|---|---|
.. | ||
Authenticator.java | ||
BindException.java | ||
ConnectException.java | ||
ContentHandler.java | ||
ContentHandlerFactory.java | ||
DatagramPacket.java | ||
DatagramSocket.java | ||
DatagramSocketImpl.java | ||
DatagramSocketImplFactory.java | ||
FileNameMap.java | ||
HttpURLConnection.java | ||
Inet4Address.java | ||
Inet6Address.java | ||
InetAddress.java | ||
InetSocketAddress.java | ||
JarURLConnection.java | ||
MalformedURLException.java | ||
MulticastSocket.java | ||
natInetAddressNoNet.cc | ||
natInetAddressPosix.cc | ||
natInetAddressWin32.cc | ||
natNetworkInterfaceNoNet.cc | ||
natNetworkInterfacePosix.cc | ||
natNetworkInterfaceWin32.cc | ||
NetPermission.java | ||
NetworkInterface.java | ||
NoRouteToHostException.java | ||
PasswordAuthentication.java | ||
PortUnreachableException.java | ||
ProtocolException.java | ||
ServerSocket.java | ||
Socket.java | ||
SocketAddress.java | ||
SocketException.java | ||
SocketImpl.java | ||
SocketImplFactory.java | ||
SocketOptions.java | ||
SocketPermission.java | ||
SocketTimeoutException.java | ||
UnknownHostException.java | ||
UnknownServiceException.java | ||
URI.java | ||
URISyntaxException.java | ||
URL.java | ||
URLClassLoader.java | ||
URLConnection.java | ||
URLDecoder.java | ||
URLEncoder.java | ||
URLStreamHandler.java | ||
URLStreamHandlerFactory.java |