Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Private Attributes
nsSOCKSSocketInfo Class Reference
Inheritance diagram for nsSOCKSSocketInfo:
Inheritance graph
[legend]
Collaboration diagram for nsSOCKSSocketInfo:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsSOCKSSocketInfo ()
virtual ~nsSOCKSSocketInfo ()
NS_DECL_ISUPPORTS
NS_DECL_NSISOCKSSOCKETINFO
void 
Init (PRInt32 version, const char *proxyHost, PRInt32 proxyPort, const char *destinationHost, PRUint32 flags)
const nsCStringDestinationHost ()
const nsCStringProxyHost ()
PRInt32 ProxyPort ()
PRInt32 Version ()
PRUint32 Flags ()

Public Attributes

attribute PRNetAddrPtr destinationAddr
attribute PRNetAddrPtr externalProxyAddr
attribute PRNetAddrPtr internalProxyAddr

Private Attributes

nsCString mDestinationHost
nsCString mProxyHost
PRInt32 mProxyPort
PRInt32 mVersion
PRUint32 mFlags
PRNetAddr mInternalProxyAddr
PRNetAddr mExternalProxyAddr
PRNetAddr mDestinationAddr

Detailed Description

Definition at line 69 of file nsSOCKSIOLayer.cpp.


Constructor & Destructor Documentation

Definition at line 101 of file nsSOCKSIOLayer.cpp.

    : mProxyPort(-1)
    , mVersion(-1)
    , mFlags(0)
{
    PR_InitializeNetAddr(PR_IpAddrAny, 0, &mInternalProxyAddr);
    PR_InitializeNetAddr(PR_IpAddrAny, 0, &mExternalProxyAddr);
    PR_InitializeNetAddr(PR_IpAddrAny, 0, &mDestinationAddr);
}
virtual nsSOCKSSocketInfo::~nsSOCKSSocketInfo ( ) [inline, virtual]

Definition at line 73 of file nsSOCKSIOLayer.cpp.

{}

Member Function Documentation

Definition at line 84 of file nsSOCKSIOLayer.cpp.

{ return mDestinationHost; }

Here is the caller graph for this function:

Definition at line 88 of file nsSOCKSIOLayer.cpp.

{ return mFlags; }

Here is the caller graph for this function:

void nsSOCKSSocketInfo::Init ( PRInt32  version,
const char *  proxyHost,
PRInt32  proxyPort,
const char *  destinationHost,
PRUint32  flags 
)

Definition at line 112 of file nsSOCKSIOLayer.cpp.

{
    mVersion         = version;
    mProxyHost       = proxyHost;
    mProxyPort       = proxyPort;
    mDestinationHost = host;
    mFlags           = flags;
}

Here is the caller graph for this function:

Definition at line 85 of file nsSOCKSIOLayer.cpp.

{ return mProxyHost; }

Here is the caller graph for this function:

Definition at line 86 of file nsSOCKSIOLayer.cpp.

{ return mProxyPort; }

Here is the caller graph for this function:

Definition at line 87 of file nsSOCKSIOLayer.cpp.

{ return mVersion; }

Here is the caller graph for this function:


Member Data Documentation

Definition at line 47 of file nsISOCKSSocketInfo.idl.

Definition at line 48 of file nsISOCKSSocketInfo.idl.

Definition at line 49 of file nsISOCKSSocketInfo.idl.

Definition at line 98 of file nsSOCKSIOLayer.cpp.

Definition at line 91 of file nsSOCKSIOLayer.cpp.

Definition at line 97 of file nsSOCKSIOLayer.cpp.

Definition at line 95 of file nsSOCKSIOLayer.cpp.

Definition at line 96 of file nsSOCKSIOLayer.cpp.

Definition at line 92 of file nsSOCKSIOLayer.cpp.

Definition at line 93 of file nsSOCKSIOLayer.cpp.

Definition at line 94 of file nsSOCKSIOLayer.cpp.


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