com.jpackages.jdun
Class DialingState

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

public abstract class DialingState
extends java.lang.Object

This abstract class defines all dialing states.

Each dialing state is represented as an int.

Example:

 // dialingState is an int that was populated with a dialing state
 if (dialingState == DialingState.Connected) {
   // do what you want to do when you're connected
 }
 

Copyright (c) 2001-2007

Author:
JPackages.com

Field Summary
static int AllDevicesConnected
          All devices connected
static int AuthAck
          Authentication request acknowledged
static int AuthCallback
          The remote access server has requested a callback number
static int AuthChangePassword
          The client has requested to change the password on the account
static int Authenticate
          Starting authentication process
static int Authenticated
          Completed authentication
static int AuthLinkSpeed
          The link-speed calculation phase is starting
static int AuthNotify
          An authentication event has occurred
static int AuthProject
          The projection phase is starting
static int AuthRetry
          The client has requested another validation attempt with a new username/password/domain
static int CallbackComplete
          The client has been called back and is about to resume authentication
static int CallbackSetByCaller
          Callback state
static int ConnectDevice
          Connecting device
static int Connected
          Connected
static int DeviceConnected
          Device connected
static int Disconnected
          Disconnected
static int Interactive
          Terminal state
static int LogonNetwork
          Logging on to the network
static int OpenPort
          Opening the communication port
static int PasswordExpired
          Change password state
static int PortOpened
          The communication port is opened
static int PrepareForCallback
          The line is about to disconnect in preparation for callback
static int Projected
          Projection result information is available
static int ReAuthenticate
          Reauthentication is starting
static int RetryAuthentication
          Retry authentication state
static int StartAuthentication
          User authentication is being initiated
static int SubEntryConnected
          A subentry has been connected
static int SubEntryDisconnected
          A subentry has been disconnected
static int WaitForCallback
          The client is waiting for an incoming call from the remote access server
static int WaitForModemReset
          The client is delaying in order to give the modem time to reset itself in preparation for callback
 
Constructor Summary
DialingState()
           
 
Method Summary
static java.lang.String getDialingStateString(int dialingState)
          Provides a string explaining a dialing state.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OpenPort

public static final int OpenPort
Opening the communication port

See Also:
Constant Field Values

PortOpened

public static final int PortOpened
The communication port is opened

See Also:
Constant Field Values

ConnectDevice

public static final int ConnectDevice
Connecting device

See Also:
Constant Field Values

DeviceConnected

public static final int DeviceConnected
Device connected

See Also:
Constant Field Values

AllDevicesConnected

public static final int AllDevicesConnected
All devices connected

See Also:
Constant Field Values

Authenticate

public static final int Authenticate
Starting authentication process

See Also:
Constant Field Values

AuthNotify

public static final int AuthNotify
An authentication event has occurred

See Also:
Constant Field Values

AuthRetry

public static final int AuthRetry
The client has requested another validation attempt with a new username/password/domain

See Also:
Constant Field Values

AuthCallback

public static final int AuthCallback
The remote access server has requested a callback number

See Also:
Constant Field Values

AuthChangePassword

public static final int AuthChangePassword
The client has requested to change the password on the account

See Also:
Constant Field Values

AuthProject

public static final int AuthProject
The projection phase is starting

See Also:
Constant Field Values

AuthLinkSpeed

public static final int AuthLinkSpeed
The link-speed calculation phase is starting

See Also:
Constant Field Values

AuthAck

public static final int AuthAck
Authentication request acknowledged

See Also:
Constant Field Values

ReAuthenticate

public static final int ReAuthenticate
Reauthentication is starting

See Also:
Constant Field Values

Authenticated

public static final int Authenticated
Completed authentication

See Also:
Constant Field Values

PrepareForCallback

public static final int PrepareForCallback
The line is about to disconnect in preparation for callback

See Also:
Constant Field Values

WaitForModemReset

public static final int WaitForModemReset
The client is delaying in order to give the modem time to reset itself in preparation for callback

See Also:
Constant Field Values

WaitForCallback

public static final int WaitForCallback
The client is waiting for an incoming call from the remote access server

See Also:
Constant Field Values

Projected

public static final int Projected
Projection result information is available

See Also:
Constant Field Values

StartAuthentication

public static final int StartAuthentication
User authentication is being initiated

See Also:
Constant Field Values

CallbackComplete

public static final int CallbackComplete
The client has been called back and is about to resume authentication

See Also:
Constant Field Values

LogonNetwork

public static final int LogonNetwork
Logging on to the network

See Also:
Constant Field Values

SubEntryConnected

public static final int SubEntryConnected
A subentry has been connected

See Also:
Constant Field Values

SubEntryDisconnected

public static final int SubEntryDisconnected
A subentry has been disconnected

See Also:
Constant Field Values

Interactive

public static final int Interactive
Terminal state

See Also:
Constant Field Values

RetryAuthentication

public static final int RetryAuthentication
Retry authentication state

See Also:
Constant Field Values

CallbackSetByCaller

public static final int CallbackSetByCaller
Callback state

See Also:
Constant Field Values

PasswordExpired

public static final int PasswordExpired
Change password state

See Also:
Constant Field Values

Connected

public static final int Connected
Connected

See Also:
Constant Field Values

Disconnected

public static final int Disconnected
Disconnected

See Also:
Constant Field Values
Constructor Detail

DialingState

public DialingState()
Method Detail

getDialingStateString

public static final java.lang.String getDialingStateString(int dialingState)

Provides a string explaining a dialing state.

Parameters:
dialingState - A dialing state defined in DialingState.
Returns:
A String defining the meaning of a dialing state.