| Modifier and Type | Class and Description |
|---|---|
| public static class | Rasapi32Util.Ras32Exception
Exceptions |
| Modifier and Type | Field and Description |
|---|---|
| public static final Map | |
| private static Object | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static WinNT. | |
| public static WinNT. | Returns: the HRASCONN for this connectionThe phone book entry name entryName, WinRas.Dial a phone book entry by name (Asynchronously - callback type 2) |
| public static WinRas. | Returns: the IP projectionthe RAS connection handle hrasConnGet the connection's IP projection |
| public static WinRas. | Returns: the entry's dialing parameters parametersthe phone book entry name entryName)get a phone book entry's dialing parameters |
| public static WinRas. | |
| public static WinNT. | Returns: the RAS connection structurethe connection name connName)Return a RAS connection by name |
| public static String | Returns: the descriptive textthe connection status connStatus)Translate the connection status value to text |
| public static String | |
| public static void | |
| public static void | |
| public static void | setPhoneBookEntry(String
the phone book entry name entryName, WinRas.the entry parameters rasEntrySet a phone book entry |
| CONNECTION_STATE_TEXT | back to summary |
|---|---|
public static final Map<K, V> CONNECTION_STATE_TEXT
| |
| phoneBookMutex | back to summary |
|---|---|
| private static Object phoneBookMutex | |
| RASP_PppIp | back to summary |
|---|---|
| private static final int RASP_PppIp | |
| Rasapi32Util | back to summary |
|---|---|
| public Rasapi32Util() | |
| dialEntry | back to summary |
|---|---|
| public static WinNT. Dial a phone book entry by name (Synchronously)
| |
| dialEntry | back to summary |
|---|---|
| public static WinNT. Dial a phone book entry by name (Asynchronously - callback type 2)
| |
| getIPProjection | back to summary |
|---|---|
| public static WinRas. Get the connection's IP projection
| |
| getPhoneBookDialingParams | back to summary |
|---|---|
| public static WinRas. get a phone book entry's dialing parameters
| |
| getPhoneBookEntry | back to summary |
|---|---|
| public static WinRas. Return the phone book entry.
| |
| getRasConnection | back to summary |
|---|---|
| public static WinNT. Return a RAS connection by name
| |
| getRasConnectionStatusText | back to summary |
|---|---|
| public static String getRasConnectionStatusText(int connStatus) Translate the connection status value to text
| |
| getRasErrorString | back to summary |
|---|---|
| public static String getRasErrorString(int code) Get the RAS error description
| |
| hangupRasConnection | back to summary |
|---|---|
| public static void hangupRasConnection(String connName) throws Ras32Exception Hangup a connection by name
| |
| hangupRasConnection | back to summary |
|---|---|
| public static void hangupRasConnection(WinNT. Hangup a connection
| |
| setPhoneBookEntry | back to summary |
|---|---|
| public static void setPhoneBookEntry(String entryName, WinRas. Set a phone book entry
| |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | Ras32Exception(int
Error code. code)New Win32 exception from an error code, usually obtained from GetLastError. |
| Modifier and Type | Method and Description |
|---|---|
| public int |
| code | back to summary |
|---|---|
| private final int code | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| Ras32Exception | back to summary |
|---|---|
| public Ras32Exception(int code) New Win32 exception from an error code, usually obtained from GetLastError.
| |
| getCode | back to summary |
|---|---|
| public int getCode() Returns the error code of the error.
| |