2003-11-22 Michael Koch <konqueror@gmx.de>

* gnu/java/nio/DatagramChannelImpl.java
	(getNativeFD): Use getPlainDatagramSocketImpl().
	* gnu/java/nio/NIODatagramSocket.java
	(getPlainDatagramSocketImpl): Renamed from getImpl().
	* gnu/java/nio/NIOSocket.java
	(getPlainSocketImpl): Renamed from getImpl().
	(setChannel): Use getPlainSocketImpl().
	* gnu/java/nio/SocketChannelImpl.java
	(SocketChannelImpl): Use getPlainSocketImpl().
	(getPlainSocketImpl): Renamed from getImpl().
	(getNativeFD): Use getPlainSocketImpl().

From-SVN: r73840
This commit is contained in:
Michael Koch 2003-11-22 15:13:01 +00:00 committed by Michael Koch
parent 249083758d
commit d3f010ec28
5 changed files with 21 additions and 7 deletions

View file

@ -59,14 +59,14 @@ public final class NIOSocket extends Socket
this.channel = channel;
}
public final PlainSocketImpl getImpl()
public final PlainSocketImpl getPlainSocketImpl()
{
return impl;
}
final void setChannel (SocketChannelImpl channel)
{
this.impl = channel.getImpl();
this.impl = channel.getPlainSocketImpl();
this.channel = channel;
}