RGenConAgentDialogServer Class Reference
class RGenConAgentDialogServer : public RSessionBase |
RGenConAgentDialogServer. This components needs to be written as a proper polymorphic DLL in JetStream.
NOTE! Although the class inherits from RSessionBase this does not mean you have to implement the API as a client server mechanism.
Public Member Functions |
---|
| RGenConAgentDialogServer() |
| ~RGenConAgentDialogServer() |
IMPORT_C void | AccessPointConnection(TUint32 &, TInt, TRequestStatus &) |
IMPORT_C void | AccessPointConnection(TUint32 &, TUint32, TUint32 &, TUint32, TRequestStatus &) |
IMPORT_C void | Authenticate(TDes &, TDes &, TBool, TRequestStatus &) |
IMPORT_C void | CancelAccessPointConnection() |
IMPORT_C void | CancelAuthenticate() |
IMPORT_C void | CancelDestroyPctNotification() |
IMPORT_C void | CancelIapConnection() |
IMPORT_C void | CancelLogin() |
IMPORT_C void | CancelModemAndLocationSelection() |
IMPORT_C void | CancelQoSWarning() |
IMPORT_C void | CancelReadPct() |
IMPORT_C void | CancelReconnect() |
IMPORT_C void | CancelWarnNewIapConnection() |
IMPORT_C void | Close() |
IMPORT_C void | ClosePct() |
IMPORT_C TInt | Connect() |
IMPORT_C void | DestroyPctNotification(TRequestStatus &) |
IMPORT_C void | IapConnection(TUint32 &, const TConnectionPrefs &, TRequestStatus &) |
IMPORT_C void | IapConnection(TUint32 &, const TConnectionPrefs &, TInt, TRequestStatus &) |
IMPORT_C void | Login(TDes &, TDes &, TBool, TRequestStatus &) |
IMPORT_C void | ModemAndLocationSelection(TUint32 &, TUint32 &, TRequestStatus &) |
IMPORT_C TInt | OpenPct() |
IMPORT_C void | QoSWarning(TBool &, TRequestStatus &) |
IMPORT_C void | ReadPct(TDes &, TRequestStatus &) |
IMPORT_C void | Reconnect(TBool &, TRequestStatus &) |
IMPORT_C TVersion | Version() |
IMPORT_C void | WarnNewIapConnection(const TConnectionPrefs &, TInt, const TDesC &, TBool &, TRequestStatus &) |
IMPORT_C TInt | WritePct(const TDesC &) |
Inherited Functions |
---|
| RHandleBase::Attributes()const |
| RHandleBase::BTraceId()const |
| RHandleBase::DoExtendedClose() |
| RHandleBase::Duplicate(const RThread &,TOwnerType) |
| RHandleBase::FullName()const |
| RHandleBase::FullName(TDes &)const |
| RHandleBase::Handle()const |
| RHandleBase::HandleInfo(THandleInfo *) |
| RHandleBase::Name()const |
| RHandleBase::NotifyDestruction(TRequestStatus &) |
| RHandleBase::Open(const TFindHandleBase &,TOwnerType) |
| RHandleBase::OpenByName(const TDesC &,TOwnerType,TInt) |
| RHandleBase::RHandleBase() |
| RHandleBase::RHandleBase(TInt) |
| RHandleBase::SetHandle(TInt) |
| RHandleBase::SetHandleNC(TInt) |
| RSessionBase::CreateSession(RServer2,const TVersion &) |
| RSessionBase::CreateSession(RServer2,const TVersion &,TInt) |
| RSessionBase::CreateSession(RServer2,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *) |
| RSessionBase::CreateSession(const TDesC &,const TVersion &) |
| RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt) |
| RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *) |
| RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TRequestStatus *) |
| RSessionBase::Open(RMessagePtr2,TInt,TOwnerType) |
| RSessionBase::Open(RMessagePtr2,TInt,const TSecurityPolicy &,TOwnerType) |
| RSessionBase::Open(TInt,TOwnerType) |
| RSessionBase::Open(TInt,const TSecurityPolicy &,TOwnerType) |
| RSessionBase::Send(TInt)const |
| RSessionBase::Send(TInt,const TIpcArgs &)const |
| RSessionBase::SendReceive(TInt)const |
| RSessionBase::SendReceive(TInt,TRequestStatus &)const |
| RSessionBase::SendReceive(TInt,const TIpcArgs &)const |
| RSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const |
| RSessionBase::SetReturnedHandle(TInt) |
| RSessionBase::SetReturnedHandle(TInt,RHandleBase &) |
| RSessionBase::SetReturnedHandle(TInt,const TSecurityPolicy &) |
| RSessionBase::ShareAuto() |
| RSessionBase::ShareProtected() |
Constructor & Destructor Documentation
RGenConAgentDialogServer()
IMPORT_C | RGenConAgentDialogServer | ( | ) | |
~RGenConAgentDialogServer()
IMPORT_C | ~RGenConAgentDialogServer | ( | ) | |
Member Functions Documentation
AccessPointConnection(TUint32 &, TInt, TRequestStatus &)
Shows a connection dialog when connection preference is of an AP type.
AccessPointConnection(TUint32 &, TUint32, TUint32 &, TUint32, TRequestStatus &)
Shows a connection dialog when connection preference is of an AP type filtered on bearer-related info.
Parameters
TUint32 & aAP | The id of the access point. |
TUint32 aAPType | |
TUint32 & aBearerAPInd | |
TUint32 aBearerAPType | an optional filter parameter to limit the data displayed to the client. |
TRequestStatus & aStatus | Any error code, or KErrNone if no error. |
Authenticate(TDes &, TDes &, TBool, TRequestStatus &)
Shows an authentication dialog when the NetDial agent requests PPP authentication information.
Parameters
TDes & aUsername | Username. |
TDes & aPassword | Password. |
TBool aIsReconnect | Whether this is a reconnect attempt or not |
TRequestStatus & aStatus | Any error code, or KErrNone if no error. |
CancelAccessPointConnection()
IMPORT_C void | CancelAccessPointConnection | ( | ) | |
Cancels the access point selection dialog.
CancelAuthenticate()
IMPORT_C void | CancelAuthenticate | ( | ) | |
Cancels the authentication.
-
panic
- ESvrCancelReturnedError.
CancelDestroyPctNotification()
IMPORT_C void | CancelDestroyPctNotification | ( | ) | |
Cancels the Destroy Post Connect Terminal Notification request.
-
panic
- ESvrCancelReturnedError cancel Pct Notification.
CancelIapConnection()
IMPORT_C void | CancelIapConnection | ( | ) | |
Cancels the IAP type connection dialog.
-
panic
- ESvrCancelReturnedError.
CancelLogin()
IMPORT_C void | CancelLogin | ( | ) | |
Cancels the login dialog.
-
panic
- ESvrCancelReturnedError Request Cancel for Login.
CancelModemAndLocationSelection()
IMPORT_C void | CancelModemAndLocationSelection | ( | ) | |
Cancels the ModemAndLocation connection dialog.
-
panic
- ESvrCancelReturnedError.
CancelQoSWarning()
IMPORT_C void | CancelQoSWarning | ( | ) | |
Cancels the QoS warning dialog
-
panic
- ESvrCancelReturnedError Request Cancel from Server.
CancelReadPct()
IMPORT_C void | CancelReadPct | ( | ) | |
Cancels the Read Post Connect Terminal request.
-
panic
- ESvrCancelReturnedError Cancel Read Pct.
CancelReconnect()
IMPORT_C void | CancelReconnect | ( | ) | |
Cancels the reconnect dialog.
-
panic
- ESvrCancelReturnedError Cancel Reconnect Request.
CancelWarnNewIapConnection()
IMPORT_C void | CancelWarnNewIapConnection | ( | ) | |
Cancels the IAP type new connection warning dialog.
-
panic
- ESvrCancelReturnedError Cancel WarnNewIapConnection.
Close()
Disconnect from the notifier server.
ClosePct()
Closes the Post Connect Terminal dialog.
-
panic
- ESvrClosePctReturnedError
DestroyPctNotification(TRequestStatus &)
Used by the NetDial agent to request that if the user cancels the dialog, then the dialog gives notification of this.
Parameters
TRequestStatus & aStatus | KErrNone if a cancel occurs, or error code otherwise. |
IapConnection(TUint32 &, const TConnectionPrefs &, TRequestStatus &)
Shows a connection dialog when CommDb database is of IAP type.
Parameters
TUint32 & aIAP | The id of the IAP service. |
const TConnectionPrefs & aPrefs | Specifies the rank and desired direction of the connection and bearer. |
TRequestStatus & aStatus | Any error code, or KErrNone if no error. |
IapConnection(TUint32 &, const TConnectionPrefs &, TInt, TRequestStatus &)
Shows a connection dialog when CommDb database is of IAP type.
Parameters
TUint32 & aIAP | The id of the IAP service. |
const TConnectionPrefs & aPrefs | Specifies the rank and desired direction of the connection and bearer. |
TInt aLastError | The error with which previous connection failed. |
TRequestStatus & aStatus | Any error code, or KErrNone if no error. |
Login(TDes &, TDes &, TBool, TRequestStatus &)
Shows a login dialog when login information for use with a script is required any the NetDial agent.
Parameters
TDes & aUsername | Username. |
TDes & aPassword | Password. |
TBool aIsReconnect | Whether this is a reconnect attempt or not |
TRequestStatus & aStatus | Any error code, or KErrNone if no error. |
ModemAndLocationSelection(TUint32 &, TUint32 &, TRequestStatus &)
Shows a dialog to enable the user to choose which modem and location to use for data transactions
Parameters
TUint32 & aModemId | The id of of the record in the modem table to be used for data transactions |
TUint32 & aLocationId | The id of the record in the location table to be used for the modem for data transactions |
TRequestStatus & aStatus | Any error code, or KErrNone if no error |
OpenPct()
Opens a Post Connect Terminal dialog.
QoSWarning(TBool &, TRequestStatus &)
Shows a dialog warning that the QoS of the connection has fallen below the minimum values specified in commdb. Expects a response from the dialog indicating if the connection is to be terminated.
Parameters
TBool & aResponse | Specifies whether to terminate the connection or not i.e. ETrue means terminate connection |
TRequestStatus & aStatus | Any error code, or KErrNone if no error. |
ReadPct(TDes &, TRequestStatus &)
Called by NetDial agent when the script indicates that user needs to enter some information.
Parameters
TDes & aData | Data entered by user. |
TRequestStatus & aStatus | Any error code, or KErrNone if no error. |
Reconnect(TBool &, TRequestStatus &)
Shows a reconnect dialog when connection has been broken during data transfer.
Parameters
TBool & aResponse | Specifies whether to reconnect or cancel the reconnection attempt. |
TRequestStatus & aStatus | Any error code, or KErrNone if no error. |
Version()
Return the client side version number.
WarnNewIapConnection(const TConnectionPrefs &, TInt, const TDesC &, TBool &, TRequestStatus &)
Shows a dialog warning when the CommDb database is of IAP type that the previous attempt to connect failed and that a new connection is to be attempted.
Parameters
const TConnectionPrefs & aPrefs | Specifies the rank and desired direction of the connection and bearer. |
TInt aLastError | The error with which previous connection failed. |
const TDesC & aNewIapName | The name of the IAP to be used for next connection. |
TBool & aResponse | Specifies whether to proceed with the connection or stop the connection attempt. |
TRequestStatus & aStatus | Any error code, or KErrNone if no error. |
WritePct(const TDesC &)
Called by NetDial agent to write incoming data into the PCT window.
Parameters
const TDesC & aData | Incoming data. |
Member Data Documentation
TPckg< TUint32 > iAccessPoint
TPckgBuf< TAuthenticationPair > iAuthenticationPair
TPckgBuf< TIspConnectionNames > iConNames
TPckg< TUint32 > iLocationId
TPckg< TUint32 > iModemId
TPckgBuf< TNewIapConnectionPrefs > iNewIapPrefsBuffer
TPckgBuf< TUint32 > iNotUsed
RDialogNotifier * iNotifier
TPckgBuf< TUint32 > iPctBuffer
TPckgBuf< TPctResponse > iPctResponse
TPckgBuf< TConnectionPrefs > iPrefs
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.