![]() ![]() ![]()
|
SophiaFramework UNIVERSE 5.1 |
#include <SFBDNSConfig2.h.hpp>
class SFBDNSConfig2 : public SFBQuery;
SFMTYPEDEFWRAPPER(SFBDNSConfig2)

| BREW 2.0 | BREW 2.1 | BREW 3.1 | BREW 4.0 |
|---|---|---|---|
| X | X | O | O |
| Public Functions | |
|---|---|
| SFCError |
GetServers(
AEESockAddrStorage * servers
, UInt16Ptr count
) Retrieve the current DNS server list.
|
| static SFBDNSConfig2Smp |
NewInstance(
SFBDNSSmpConstRef dns
, SFCErrorPtr exception = null
) Create a new instance of SFBDNSConfig2 class.
|
| static SFBDNSConfig2Smp |
NewInstance(
SFBDNSSmpConstRef dns
, AEECLSID id
, SFCErrorPtr exception = null
) Create a new instance of SFBDNSConfig2 class.
|
| SFCError |
SelectNetworkEx(
SInt32 network
, UInt16 family
) Select a specific data network.
|
| SFCError |
SetServers(
AEESockAddrStorage const * servers
, UInt16 count
) Specify DNS server(s) to query.
|
| SFCError |
QueryInterface(
AEECLSID clsid
, VoidHandle handle
)
(inherits from SFBQuery)
Ask an object for another API contract from the object in question.
|
| SFCError |
QueryInterface(
AEECLSID clsid
, SFBBaseSmpPtr handle
)
(inherits from SFBQuery)
Ask an object for another API contract from the object in question.
|
| SFBBaseSmp |
QueryInterface(
AEECLSID clsid
)
(inherits from SFBQuery)
Ask an object for another API contract from the object in question.
|
| Void |
Self(
AEECLSID clsidReq
, SFBQuerySmpPtr clone
, AEECLSID clsidImp
)
(inherits from SFBQuery)
Helper macro for those implementing an object with a single interface.
|
| SFBQuerySmp |
Self(
AEECLSID clsidReq
, AEECLSID clsidImp
)
(inherits from SFBQuery)
Helper macro for those implementing an object with a single interface.
|
| Protected Functions | |
|---|---|
| static SFBBaseSmp |
FactoryByCreate(
AEECLSID id
, SFCErrorPtr exception = null
)
(inherits from SFBBase)
Create the instance for a specified ClassID's interface.
|
| static SFBBaseSmp |
FactoryByQuery(
SFBQuerySmpConstRef query
, AEECLSID id
, SFCErrorPtr exception = null
)
(inherits from SFBBase)
Create the instance for a specified ClassID's interface using the SFBQuery instance.
|
[ public ] SFCError GetServers( AEESockAddrStorage * servers // pointer to an array of *count server addresses UInt16Ptr count // the number of servers );
[ public, static ] SFBDNSConfig2Smp NewInstance( SFBDNSSmpConstRef dns // SFBDNS instance SFCErrorPtr exception = null // Error );
[ public, static ] SFBDNSConfig2Smp NewInstance( SFBDNSSmpConstRef dns // SFBDNS instance AEECLSID id // Class ID for the SFBDNSConfig2 instance SFCErrorPtr exception = null // Error );
[ public ] SFCError SelectNetworkEx( SInt32 network // data network type (AEE_NETWORK_*) UInt16 family // address family (AEE_AF_*) );
Most applications will not need to explicitly select the network.
[ public ] SFCError SetServers( AEESockAddrStorage const * servers // pointer to an array of count server addresses UInt16 count // the number of servers );
|
Copyright(c) 2002 - 2010 Sophia Cradle Incorporated All Rights Reserved. |
![]() ![]() ![]()
|