Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
ipcDConnectService Class Reference

#include <ipcDConnectService.h>

Inheritance diagram for ipcDConnectService:
Inheritance graph
[legend]
Collaboration diagram for ipcDConnectService:
Collaboration graph
[legend]

List of all members.

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_IPCIDCONNECTSERVICE
NS_DECL_IPCIMESSAGEOBSERVER 
NS_HIDDEN_ (nsresult) Init()
 NS_HIDDEN_ (nsresult) GetInterfaceInfo(const nsID &iid
nsIInterfaceInfo ** NS_HIDDEN_ (nsresult) GetIIDForMethodParam(nsIInterfaceInfo *iinfo
 NS_HIDDEN_ (nsresult) StoreInstance(DConnectInstance *)
 NS_HIDDEN_ (void) DeleteInstance(DConnectInstance *)
void createInstance (in unsigned long aClientID, in nsCIDRef aClass, in nsIIDRef aIID,[iid_is(aIID), retval] out nsQIResult result)
void createInstanceByContractID (in unsigned long aClientID, in string aContractID, in nsIIDRef aIID,[iid_is(aIID), retval] out nsQIResult result)
void getService (in unsigned long aClientID, in nsCIDRef aClass, in nsIIDRef aIID,[iid_is(aIID), retval] out nsQIResult result)
void getServiceByContractID (in unsigned long aClientID, in string aContractID, in nsIIDRef aIID,[iid_is(aIID), retval] out nsQIResult result)
void onMessageAvailable (in unsigned long aSenderID, in nsIDRef aTarget,[array, const, size_is(aDataLen)] in octet aData, in unsigned long aDataLen)

Public Attributes

nsIInterfaceInfo const
nsXPTMethodInfo
methodInfo
nsIInterfaceInfo const
nsXPTMethodInfo const
nsXPTParamInfo
paramInfo
nsIInterfaceInfo const
nsXPTMethodInfo const
nsXPTParamInfo const nsXPTType
type
nsIInterfaceInfo const
nsXPTMethodInfo const
nsXPTParamInfo const nsXPTType
PRUint16 
methodIndex
nsIInterfaceInfo const
nsXPTMethodInfo const
nsXPTParamInfo const nsXPTType
PRUint16 PRUint8 
paramIndex
nsIInterfaceInfo const
nsXPTMethodInfo const
nsXPTParamInfo const nsXPTType
PRUint16 PRUint8
nsXPTCMiniVariant
dispatchParams
nsIInterfaceInfo const
nsXPTMethodInfo const
nsXPTParamInfo const nsXPTType
PRUint16 PRUint8
nsXPTCMiniVariant PRBool 
isFullVariantArray
nsIInterfaceInfo const
nsXPTMethodInfo const
nsXPTParamInfo const nsXPTType
PRUint16 PRUint8
nsXPTCMiniVariant PRBool nsID
result

Private Member Functions

NS_HIDDEN ~ipcDConnectService ()
 NS_HIDDEN_ (void) OnSetup(PRUint32 peer
 NS_HIDDEN_ (void) OnRelease(PRUint32 peer
struct DConnectReleaseNS_HIDDEN_ (void) OnInvoke(PRUint32 peer

Private Attributes

struct DConnectSetup PRUint32 opLen
struct DConnectRelease struct
DConnectInvoke PRUint32 
opLen
nsCOMPtr< nsIInterfaceInfoManagermIIM
DConnectInstanceSet mInstances

Detailed Description

Definition at line 53 of file ipcDConnectService.h.


Constructor & Destructor Documentation

Definition at line 1344 of file ipcDConnectService.cpp.

{
  // make sure we have released all instances
  mInstances.EnumerateRead(DestroyDConnectInstance, nsnull);
  mInstances.Clear();

  gDConnect = nsnull;
}

Here is the call graph for this function:


Member Function Documentation

void ipcIDConnectService::createInstance ( in unsigned long  aClientID,
in nsCIDRef  aClass,
in nsIIDRef  aIID,
[iid_is(aIID), retval] out nsQIResult  result 
) [inherited]
void ipcIDConnectService::createInstanceByContractID ( in unsigned long  aClientID,
in string  aContractID,
in nsIIDRef  aIID,
[iid_is(aIID), retval] out nsQIResult  result 
) [inherited]
void ipcIDConnectService::getService ( in unsigned long  aClientID,
in nsCIDRef  aClass,
in nsIIDRef  aIID,
[iid_is(aIID), retval] out nsQIResult  result 
) [inherited]
void ipcIDConnectService::getServiceByContractID ( in unsigned long  aClientID,
in string  aContractID,
in nsIIDRef  aIID,
[iid_is(aIID), retval] out nsQIResult  result 
) [inherited]
NS_DECL_ISUPPORTS NS_DECL_IPCIDCONNECTSERVICE NS_DECL_IPCIMESSAGEOBSERVER ipcDConnectService::NS_HIDDEN_ ( nsresult  )
struct DConnectRelease* ipcDConnectService::NS_HIDDEN_ ( void  ) [read, private]
void ipcIMessageObserver::onMessageAvailable ( in unsigned long  aSenderID,
in nsIDRef  aTarget,
[array, const, size_is(aDataLen)] in octet  aData,
in unsigned long  aDataLen 
) [inherited]
Parameters:
aSenderIDthe client id of the sender of this message. if sent by the daemon (or a deamon module), then this will have a value of 0.
aTargetthe target of the message, corresponding to the target this observer was registered under. this parameter is passed to allow an observer instance to receive messages for more than one target.
aDatathe data of the message.
aDataLenthe data length of the message.

Member Data Documentation

Definition at line 65 of file ipcDConnectService.h.

Definition at line 65 of file ipcDConnectService.h.

Definition at line 65 of file ipcDConnectService.h.

Definition at line 65 of file ipcDConnectService.h.

Definition at line 86 of file ipcDConnectService.h.

Definition at line 89 of file ipcDConnectService.h.

Definition at line 81 of file ipcDConnectService.h.

Definition at line 83 of file ipcDConnectService.h.

Definition at line 65 of file ipcDConnectService.h.

Definition at line 65 of file ipcDConnectService.h.

Definition at line 65 of file ipcDConnectService.h.

Definition at line 65 of file ipcDConnectService.h.


The documentation for this class was generated from the following files: