34 #ifndef PTLIB_REMOTECONNECTION_H 35 #define PTLIB_REMOTECONNECTION_H 289 #include "msos/ptlib/remconn.h" 291 #include "unix/ptlib/remconn.h" 296 #endif // PTLIB_REMOTECONNECTION_H Structure for a RAS configuration.
Definition: remconn.h:193
PString device
Device name for connection eg /dev/modem.
Definition: remconn.h:195
Status GetConfiguration(Configuration &config)
Get the configuration of the specified remote access connection.
Connection was lost after successful establishment.
Definition: remconn.h:144
virtual Comparison Compare(const PObject &obj) const
Compare two connections.
DWORD GetErrorCode() const
Get the error code for the last operation.
Definition: remconn.h:162
Status GetStatus() const
Get the current status of the RAS connection.
Connection failed due to the RAS setting name/number being incorrect.
Definition: remconn.h:136
PBoolean dialAllSubEntries
Always establish maximum bandwidth when Multi-link PPP is used.
Definition: remconn.h:207
PString phoneNumber
Telephone number to call to make the connection.
Definition: remconn.h:197
Comparison
Result of the comparison operation performed by the Compare() function.
Definition: object.h:1184
DWORD osError
Definition: remconn.h:279
Connection failed due to the line havin no dial tone.
Definition: remconn.h:130
PString script
Script name for doing remote log in.
Definition: remconn.h:203
This is an array collection class of PString objects.
Definition: pstring.h:2024
The Remote Access Operating System support is not installed.
Definition: remconn.h:146
Remote Access Connection class.
Definition: remconn.h:50
Connection is completed and active.
Definition: remconn.h:124
Connection failed due to the port being in use.
Definition: remconn.h:134
PString password
Definition: remconn.h:278
Definition: remconn.h:147
Connection failed due to the line being busy.
Definition: remconn.h:128
~PRemoteConnection()
Disconnect remote connection.
BOOL PBoolean
Definition: object.h:102
Connection failed due to insufficient privilege.
Definition: remconn.h:138
Connection is in progress.
Definition: remconn.h:126
PBoolean Open(PBoolean existing=false)
Open the remote connection.
Connection failed due to the remote not answering.
Definition: remconn.h:132
Connection has not been made and no attempt is being made.
Definition: remconn.h:122
PRemoteConnection()
Create a new remote connection.
Connection failed due to a general failure.
Definition: remconn.h:142
The character string class.
Definition: pstring.h:108
PString dnsAddress
DNS host on remote site.
Definition: remconn.h:201
PINDEX subEntries
Sub-entry number when Multi-link PPP is used.
Definition: remconn.h:205
PString ipAddress
IP address of local machine after connection is made.
Definition: remconn.h:199
PString remoteName
Definition: remconn.h:276
PString GetAddress()
Get the IP address in dotted decimal form for the RAS connection.
Status SetConfiguration(const Configuration &config, PBoolean create=false)
Set the configuration of the specified remote access connection.
static PStringArray GetAvailableNames()
Get an array of names for all of the available remote connections on this system. ...
void Close()
Close the remote connection.
const PString & GetName() const
Get the name of the RAS connection.
Definition: remconn.h:172
Connection failed due to a hardware failure.
Definition: remconn.h:140
Status
Status codes for remote connection.
Definition: remconn.h:120
static Status RemoveConfiguration(const PString &name)
Remove the specified remote access connection.
Ultimate parent class for all objects in the class library.
Definition: object.h:1118
PString userName
Definition: remconn.h:277
virtual PINDEX HashFunction() const
Get has value for the connection.