Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Lightweight Bartering Grid
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## lbg.common.net
Class CommonNetHandling

    java.lang.Object
      lbg.common.net.CommonNetHandling

    public abstract class CommonNetHandling

extends java.lang.Object

A CommonNetHandling provides common Net handling routines.

Author:
  Cyril Briquet

Constructor Summary
`CommonNetHandling()`

Method Summary
`static int` | `getCoresCount()`
`static java.lang.String` | `getLocalHostName()`
`static boolean` | `isValidPort(int port)`
`static java.net.URL` | `loadRandomURLSafely(java.lang.String[] target_url)`
`static java.net.URL` | `loadURLSafely(java.lang.String target_url)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### CommonNetHandling

    public CommonNetHandling()

Method Detail

### isValidPort

    public static boolean isValidPort(int port)

### getLocalHostName

    public static java.lang.String getLocalHostName()
                                             throws GridException

  Throws:
    `GridException`

### loadURLSafely

    public static java.net.URL loadURLSafely(java.lang.String target_url)

### loadRandomURLSafely

    public static java.net.URL loadRandomURLSafely(java.lang.String[] target_url)

### getCoresCount

    public static int getCoresCount()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Lightweight Bartering Grid
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

> Copyright (c) 2005-2008, Cyril Briquet, parts Xavier Dalem.