com.jpackages.jdun
Class DialUpDevice

java.lang.Object
  extended by com.jpackages.jdun.DialUpDevice

public class DialUpDevice
extends java.lang.Object

This class defines a dial-up device.

Each entry has a dial-up device that it uses to connect.

Example:

 // dialUpManager is an instance of DialUpManager
 DialUpDevice dev = dialUpManager.getDialUpDeviceModem();
 DialUpEntryProperties props = new DialUpEntryProperties("5551234", dev);
 dialUpManager.setDialUpEntryProperties("My Connection", props);
 

Copyright (c) 2001-2007

Author:
JPackages.com

Method Summary
 java.lang.String getName()
          Retrieves the dial-up device name.
 java.lang.String getType()
          Retrieves the dial-up device type.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()

Retrieves the dial-up device name.

Returns:
The name of the dial-up device.

getType

public java.lang.String getType()

Retrieves the dial-up device type.

These types include but are not limited to modem, vpn, and parallel.

Returns:
The type of the dial-up device.