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

## dioscuri.vnc
Class VNCUtil

    java.lang.Object
      dioscuri.vnc.VNCUtil

    public class VNCUtil

extends java.lang.Object

Class holding static method helper

Author:
  Gendo

Constructor Summary
`VNCUtil()`

Method Summary
`static boolean` | `available(int port)` Checks to see if a specific port is available.
`static java.lang.String` | `getHostIP()` Find the IP address of localhost.
`static java.lang.String` | `getHostName()` Find the hostname of localhost.

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

Constructor Detail

### VNCUtil

    public VNCUtil()

Method Detail

### getHostIP

    public static java.lang.String getHostIP()

  Find the IP address of localhost.

  Returns:
    the IP address of localhost.

### getHostName

    public static java.lang.String getHostName()

  Find the hostname of localhost.

  Returns:
    the hostname of localhost.

### available

    public static boolean available(int port)

  Checks to see if a specific port is available.

  Parameters:
    `port` - the port to check for availability Code from http://mina.apache.org/

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