Signed-off-by: Pekka Enberg <penb...@kernel.org> --- java/net/ServerSocket.java | 8 ++++++++ java/net/Socket.java | 8 ++++++++ java/net/SocketImpl.java | 8 ++++++++ 3 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/java/net/ServerSocket.java b/java/net/ServerSocket.java index 1dbd763..453fb29 100644 --- a/java/net/ServerSocket.java +++ b/java/net/ServerSocket.java @@ -584,6 +584,14 @@ public class ServerSocket } /** + * @since 1.5 + */ + public void setPerformancePreferences(int connectionTime, int latency, int bandwidth) + { + // Ignored + } + + /** * Returns the value of this socket as a <code>String</code>. * * @return This socket represented as a <code>String</code>. diff --git a/java/net/Socket.java b/java/net/Socket.java index 32b12e8..26490e3 100644 --- a/java/net/Socket.java +++ b/java/net/Socket.java @@ -1294,4 +1294,12 @@ public class Socket { return outputShutdown; } + + /** + * @since 1.5 + */ + public void setPerformancePreferences(int connectionTime, int latency, int bandwidth) + { + // Ignored + } } diff --git a/java/net/SocketImpl.java b/java/net/SocketImpl.java index 77f470b..ab3b636 100644 --- a/java/net/SocketImpl.java +++ b/java/net/SocketImpl.java @@ -318,4 +318,12 @@ public abstract class SocketImpl implements SocketOptions { throw new IOException("Not implemented in this socket class"); } + + /** + * @since 1.5 + */ + public void setPerformancePreferences(int connectionTime, int latency, int bandwidth) + { + // Ignored + } } -- 1.7.6.5