Home
last modified time | relevance | path

Searched refs:SessionAdapter (Results 1 - 8 of 8) sorted by relevance

/base/telephony/call_manager/services/distributed_call/src/transmission/
H A Dsession_adapter.cpp22 SessionAdapter::SessionAdapter(const std::shared_ptr<ISessionCallback> &callback) : callback_(callback) in SessionAdapter() function in OHOS::Telephony::SessionAdapter
24 listener_.OnBind = SessionAdapter::OnBind; in SessionAdapter()
25 listener_.OnShutdown = SessionAdapter::OnShutdown; in SessionAdapter()
26 listener_.OnBytes = SessionAdapter::OnBytes; in SessionAdapter()
31 listener_.OnError = SessionAdapter::OnError; in SessionAdapter()
35 bool SessionAdapter::IsReady() in IsReady()
41 void SessionAdapter::SendMsg(const void *data, uint32_t len) in SendMsg()
58 void SessionAdapter::OnReceiveMsg(int32_t socket, const char* data, uint32_t dataLen) in OnReceiveMsg()
72 void SessionAdapter
[all...]
H A Dtransmission_manager.cpp31 std::shared_ptr<SessionAdapter> TransmissionManager::CreateServerSession( in CreateServerSession()
44 std::shared_ptr<SessionAdapter> TransmissionManager::CreateClientSession( in CreateClientSession()
59 std::shared_ptr<SessionAdapter> session = nullptr; in OnBind()
71 std::shared_ptr<SessionAdapter> session = nullptr; in OnShutdown()
83 std::shared_ptr<SessionAdapter> session = nullptr; in OnReceiveMsg()
/base/telephony/call_manager/services/distributed_call/include/transmission/
H A Dtransmission_manager.h29 std::shared_ptr<SessionAdapter> CreateServerSession(const std::shared_ptr<ISessionCallback> &callback);
30 std::shared_ptr<SessionAdapter> CreateClientSession(const std::shared_ptr<ISessionCallback> &callback);
37 std::weak_ptr<SessionAdapter> session_{};
H A Dclient_session.h23 class ClientSession : public SessionAdapter {
25 explicit ClientSession(const std::shared_ptr<ISessionCallback> &callback) : SessionAdapter(callback) {} in ClientSession()
H A Dserver_session.h23 class ServerSession : public SessionAdapter {
25 explicit ServerSession(const std::shared_ptr<ISessionCallback> &callback) : SessionAdapter(callback) {} in ServerSession()
H A Dsession_adapter.h39 class SessionAdapter { class
41 explicit SessionAdapter(const std::shared_ptr<ISessionCallback> &callback);
42 virtual ~SessionAdapter() = default;
/base/telephony/call_manager/test/unittest/distributed_communication_test/src/
H A Ddistributed_transmission_test.cpp124 SessionAdapter::OnBind(0, info); in HWTEST_F()
125 SessionAdapter::OnShutdown(0, static_cast<ShutdownReason>(0)); in HWTEST_F()
126 SessionAdapter::OnBytes(0, nullptr, 0); in HWTEST_F()
127 SessionAdapter::OnError(0, 0); in HWTEST_F()
/base/telephony/call_manager/services/distributed_call/include/distributed_communication/
H A Ddistributed_data_controller.h78 std::shared_ptr<SessionAdapter> session_{nullptr};

Completed in 3 milliseconds