/[classpath]/classpath/java/net/InetAddress.java
ViewVC logotype

Diff of /classpath/java/net/InetAddress.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.23 by mkoch, Mon Sep 29 08:36:27 2003 UTC revision 1.24 by mkoch, Mon Sep 29 08:40:58 2003 UTC
# Line 261  public class InetAddress implements Seri Line 261  public class InetAddress implements Seri
261      return false;      return false;
262    }    }
263    
264      /**
265       * Utility routine to check if InetAddress is a link local address
266       *
267       * @since 1.4
268       */
269      public boolean isLinkLocalAddress()
270      {
271        // This is the IPv4 implementation.
272        // Any class derived from InetAddress should override this.
273    
274        // XXX: This seems to not exist with IPv4 addresses
275        return false;
276      }
277    
278      /**
279       * Utility routine to check if InetAddress is a global multicast address
280       *
281       * @since 1.4
282       */
283      public boolean isMCGlobal()
284      {
285        // This is the IPv4 implementation.
286        // Any class derived from InetAddress should override this.
287    
288        // XXX: This seems to not exist with IPv4 addresses
289        return false;
290      }
291    
292      /**
293       * Utility reoutine to check if InetAddress is a node local multicast address
294       *
295       * @since 1.4
296       */
297      public boolean isMCNodeLocal()
298      {
299        // This is the IPv4 implementation.
300        // Any class derived from InetAddress should override this.
301    
302        // XXX: This seems to not exist with IPv4 addresses
303        return false;
304      }
305    
306      /**
307       * Utility routine to check if InetAddress is a site local multicast address
308       *
309       * @since 1.4
310       */
311      public boolean isMCSiteLocal()
312      {
313        // This is the IPv4 implementation.
314        // Any class derived from InetAddress should override this.
315    
316        // XXX: This seems to not exist with IPv4 addresses
317        return false;
318      }
319    
320      /**
321       * Utility reoutine to check if InetAddress is a organization local
322       * multicast address
323       *
324       * @since 1.4
325       */
326      public boolean isMCOrgLocal()
327      {
328        // This is the IPv4 implementation.
329        // Any class derived from InetAddress should override this.
330    
331        // XXX: This seems to not exist with IPv4 addresses
332      return false;      return false;
333    }    }
334    

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26