Searched refs:ObexServerSession (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/obex/ |
H A D | obex_server.h | 44 class ObexServerSession; variable 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 &session, bool isBusy) const; 83 int RemoveSession(ObexServerSession &session) const; 110 virtual void SetBusy(ObexServerSession &session, bool isBusy) const; [all …]
|
H A D | obex_server.cpp | 116 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() 331 int ObexPrivateServer::RemoveSession(ObexServerSession &session) const in RemoveSession() [all …]
|
H A D | obex_mp_server.h | 29 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 D | obex_session.cpp | 24 ObexServerSession::ObexServerSession(ObexTransport &transport, bool isSupportSrm, utility::Dispatch… in ObexServerSession() function in OHOS::bluetooth::ObexServerSession 25 …std::function<int(ObexServerSession &)> removeFun, std::function<void(ObexServerSession &, bool)> … in ObexServerSession() argument 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<Obe… in SendGetResponse() 119 int ObexServerSession::ProcessSendSrmResponse() in ProcessSendSrmResponse() 148 dispatcher_.PostTask(std::bind(&ObexServerSession::ProcessSendSrmResponse, this)); in ProcessSendSrmResponse() 161 int ObexServerSession::SendSrmResponse() in SendSrmResponse() 180 void ObexServerSession::Invalid() in Invalid()
|
H A D | obex_session.h | 353 class ObexServerSession : public ObexSession { 355 ObexServerSession(ObexTransport &transport, bool isSupportSrm, utility::Dispatcher &dispatcher, 356 …std::function<int(ObexServerSession &)> removeFun, std::function<void(ObexServerSession &, bool)> … 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 D | obex_mp_server.cpp | 53 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()
|