Home
last modified time | relevance | path

Searched refs:DhcpServerProxy (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/communication/dhcp/frameworks/native/src/
H A Ddhcp_server_proxy.h31 class DhcpServerProxy : public IDhcpServer {
33 static DhcpServerProxy *GetInstance(void);
35 explicit DhcpServerProxy(void);
38 class DhcpServerProxy : public IRemoteProxy<IDhcpServer> {
40 explicit DhcpServerProxy(const sptr<IRemoteObject> &impl);
42 ~DhcpServerProxy();
63 static DhcpServerProxy *g_instance;
71 explicit DhcpServerDeathRecipient(DhcpServerProxy &client) : client_(client) {} in DhcpServerDeathRecipient()
79 DhcpServerProxy &client_;
84 static inline BrokerDelegator<DhcpServerProxy> delegator_;
H A Ddhcp_server_proxy_lite.cpp82 DhcpServerProxy *client = DhcpServerProxy::GetInstance(); in OnRemoteSrvDied()
89 DhcpServerProxy *DhcpServerProxy::g_instance = nullptr;
90 DhcpServerProxy::DhcpServerProxy() : remote_(nullptr), remoteDied_(false) in DhcpServerProxy() function in OHOS::DHCP::DhcpServerProxy
93 DhcpServerProxy::~DhcpServerProxy() in ~DhcpServerProxy()
96 DhcpServerProxy *DhcpServerProxy::GetInstance(void) in GetInstance()
102 DhcpServerProxy *tempInstance = new(std::nothrow) DhcpServerProxy(); in GetInstance()
107 void DhcpServerProxy::ReleaseInstance(void) in ReleaseInstance()
115 ErrCode DhcpServerProxy::Init(void) in Init()
140 bool DhcpServerProxy::IsRemoteDied(void) in IsRemoteDied()
200 ErrCode DhcpServerProxy::StartDhcpServer(const std::string& ifname) in StartDhcpServer()
[all …]
H A Ddhcp_server_proxy.cpp29 DhcpServerProxy::DhcpServerProxy(const sptr<IRemoteObject> &impl) : IRemoteProxy<IDhcpServer>(impl), in DhcpServerProxy() function in OHOS::DHCP::DhcpServerProxy
51 DhcpServerProxy::~DhcpServerProxy() in ~DhcpServerProxy()
57 void DhcpServerProxy::RemoveDeathRecipient(void) in RemoveDeathRecipient()
73 void DhcpServerProxy::OnRemoteDied(const wptr<IRemoteObject> &remoteObject) in OnRemoteDied()
87 bool DhcpServerProxy::IsRemoteDied(void) in IsRemoteDied()
95 ErrCode DhcpServerProxy::RegisterDhcpServerCallBack(const std::string& ifname, in RegisterDhcpServerCallBack()
144 ErrCode DhcpServerProxy::StartDhcpServer(const std::string& ifname) in StartDhcpServer()
182 ErrCode DhcpServerProxy::SetDhcpRange(const std::string& ifname, const DhcpRange& range) in SetDhcpRange()
300 ErrCode DhcpServerProxy::RemoveAllDhcpRange(const std::string& tagName) in RemoveAllDhcpRange()
333 ErrCode DhcpServerProxy::UpdateLeasesTime(const std::string& leaseTime) in UpdateLeasesTime()
[all …]
H A Ddhcp_server_impl.cpp47 DhcpServerProxy::ReleaseInstance(); in ~DhcpServerImpl()
55 DhcpServerProxy *serverProxy = DhcpServerProxy::GetInstance(); in Init()
62 DhcpServerProxy::ReleaseInstance(); in Init()
95 client_ = new (std::nothrow)DhcpServerProxy(object); in GetDhcpServerProxy()