Home
last modified time | relevance | path

Searched refs:ObexServerSession (Results 1 - 6 of 6) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/service/src/obex/
H A Dobex_server.h44 class ObexServerSession;
55 virtual void OnConnect(ObexServerSession &session, const ObexHeader &req) = 0;
56 virtual void OnDisconnect(ObexServerSession &session, const ObexHeader &req) = 0;
57 virtual void OnPut(ObexServerSession &session, const ObexHeader &req);
58 virtual void OnGet(ObexServerSession &session, const ObexHeader &req);
59 virtual void OnAbort(ObexServerSession &session, const ObexHeader &req);
60 virtual void OnSetPath(ObexServerSession &session, const ObexHeader &req);
61 virtual void OnAction(ObexServerSession &session, const ObexHeader &req);
62 virtual void OnSession(ObexServerSession &session, const ObexHeader &req);
64 virtual void OnBusy(ObexServerSession
[all...]
H A Dobex_mp_server.h29 void HandleTransportDataBusy(ObexServerSession &session, uint8_t isBusy) override;
30 void HandlePutRequest(ObexServerSession &session, ObexHeader &req) const override;
31 void HandleGetRequest(ObexServerSession &session, ObexHeader &req) override;
32 void HandleAbortRequest(ObexServerSession &session, ObexHeader &req) override;
35 void HandlePutFinalRequest(ObexServerSession &session, ObexHeader &req) const;
H A Dobex_server.cpp116 void ObexServerObserver::OnPut(ObexServerSession &session, const ObexHeader &req) in OnPut()
122 void ObexServerObserver::OnGet(ObexServerSession &session, const ObexHeader &req) in OnGet()
128 void ObexServerObserver::OnAbort(ObexServerSession &session, const ObexHeader &req) in OnAbort()
134 void ObexServerObserver::OnSetPath(ObexServerSession &session, const ObexHeader &req) in OnSetPath()
140 void ObexServerObserver::OnAction(ObexServerSession &session, const ObexHeader &req) in OnAction()
146 void ObexServerObserver::OnSession(ObexServerSession &session, const ObexHeader &req) in OnSession()
152 void ObexServerObserver::OnBusy(ObexServerSession &session, bool isBusy) const in OnBusy()
180 auto session = std::make_unique<ObexServerSession>(transport, in OnTransportConnected()
203 ObexServerSession &serverSession, const ObexHeader &req) in HandleDataAvailableConnect()
225 ObexServerSession in OnTransportDataAvailable()
[all...]
H A Dobex_session.cpp24 ObexServerSession::ObexServerSession(ObexTransport &transport, bool isSupportSrm, utility::Dispatcher &dispatcher, in ObexServerSession() function in OHOS::bluetooth::ObexServerSession
25 std::function<int(ObexServerSession &)> removeFun, std::function<void(ObexServerSession &, bool)> setBusyFun) in ObexServerSession()
34 int ObexServerSession::Disconnect() in Disconnect()
42 int ObexServerSession::SendSimpleResponse(ObexRspCode rspCode) const in SendSimpleResponse()
50 int ObexServerSession::SendResponse(ObexHeader &resp) const in SendResponse()
73 int ObexServerSession::SendGetResponse(const ObexHeader &req, ObexHeader &resp, std::shared_ptr<ObexBodyObject> reader) in SendGetResponse()
119 int ObexServerSession::ProcessSendSrmResponse() in ProcessSendSrmResponse()
148 dispatcher_.PostTask(std::bind(&ObexServerSession in ProcessSendSrmResponse()
[all...]
H A Dobex_session.h353 class ObexServerSession : public ObexSession { class
355 ObexServerSession(ObexTransport &transport, bool isSupportSrm, utility::Dispatcher &dispatcher,
356 std::function<int(ObexServerSession &)> removeFun, std::function<void(ObexServerSession &, bool)> setBusyFun);
357 ~ObexServerSession() override = default;
402 std::function<int(ObexServerSession &)> removeFun_ {};
403 std::function<void(ObexServerSession &, bool)> setBusyFun_ {};
405 BT_DISALLOW_COPY_AND_ASSIGN(ObexServerSession);
H A Dobex_mp_server.cpp53 void ObexPrivateMpServer::HandlePutRequest(ObexServerSession &session, ObexHeader &req) const in HandlePutRequest()
102 void ObexPrivateMpServer::HandlePutFinalRequest(ObexServerSession &session, ObexHeader &req) const in HandlePutFinalRequest()
131 void ObexPrivateMpServer::HandleTransportDataBusy(ObexServerSession &session, uint8_t isBusy) in HandleTransportDataBusy()
148 void ObexPrivateMpServer::HandleGetRequest(ObexServerSession &session, ObexHeader &req) in HandleGetRequest()
200 void ObexPrivateMpServer::HandleAbortRequest(ObexServerSession &session, ObexHeader &req) in HandleAbortRequest()

Completed in 4 milliseconds