equal
deleted
inserted
replaced
24 */ |
24 */ |
25 package java.net; |
25 package java.net; |
26 |
26 |
27 import java.io.FileDescriptor; |
27 import java.io.FileDescriptor; |
28 import java.io.IOException; |
28 import java.io.IOException; |
29 import java.io.InterruptedIOException; |
|
30 import java.util.Enumeration; |
|
31 import sun.net.ResourceManager; |
29 import sun.net.ResourceManager; |
32 |
30 |
33 /** |
31 /** |
34 * Abstract datagram and multicast socket implementation base class. |
32 * Abstract datagram and multicast socket implementation base class. |
35 * Note: This is not a public class, so that applets cannot call |
33 * Note: This is not a public class, so that applets cannot call |
151 |
149 |
152 /** |
150 /** |
153 * Set the TTL (time-to-live) option. |
151 * Set the TTL (time-to-live) option. |
154 * @param TTL to be set. |
152 * @param TTL to be set. |
155 */ |
153 */ |
|
154 @Deprecated |
156 protected abstract void setTTL(byte ttl) throws IOException; |
155 protected abstract void setTTL(byte ttl) throws IOException; |
157 |
156 |
158 /** |
157 /** |
159 * Get the TTL (time-to-live) option. |
158 * Get the TTL (time-to-live) option. |
160 */ |
159 */ |
|
160 @Deprecated |
161 protected abstract byte getTTL() throws IOException; |
161 protected abstract byte getTTL() throws IOException; |
162 |
162 |
163 /** |
163 /** |
164 * Join the multicast group. |
164 * Join the multicast group. |
165 * @param multicast address to join. |
165 * @param multicast address to join. |