equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2007,2011 Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
23 * questions. |
23 * questions. |
24 */ |
24 */ |
25 package java.net; |
25 package java.net; |
26 |
26 |
27 import java.io.IOException; |
27 import java.io.IOException; |
28 import java.io.FileDescriptor; |
|
29 import sun.misc.SharedSecrets; |
28 import sun.misc.SharedSecrets; |
30 import sun.misc.JavaIOFileDescriptorAccess; |
29 import sun.misc.JavaIOFileDescriptorAccess; |
31 |
30 |
32 /** |
31 /** |
33 * This class defines the plain DatagramSocketImpl that is used on |
32 * This class defines the plain DatagramSocketImpl that is used on |
213 |
212 |
214 protected int getTimeToLive() throws IOException { |
213 protected int getTimeToLive() throws IOException { |
215 throw new IOException("Method not implemented!"); |
214 throw new IOException("Method not implemented!"); |
216 } |
215 } |
217 |
216 |
218 |
217 @Deprecated |
219 protected void setTTL(byte ttl) throws IOException { |
218 protected void setTTL(byte ttl) throws IOException { |
220 throw new IOException("Method not implemented!"); |
219 throw new IOException("Method not implemented!"); |
221 } |
220 } |
222 |
221 |
|
222 @Deprecated |
223 protected byte getTTL() throws IOException { |
223 protected byte getTTL() throws IOException { |
224 throw new IOException("Method not implemented!"); |
224 throw new IOException("Method not implemented!"); |
225 } |
225 } |
226 /* END Multicast specific methods */ |
226 /* END Multicast specific methods */ |
227 |
227 |