1 Star 0 Fork 4.9K

马慧 / docs

forked from OpenHarmony / docs 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
ISessionListener.md 2.76 KB
Copy Edit Raw Blame History
wenjun authored 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

ISessionListener

Overview

Related Modules:

Softbus

Description:

Defines session callbacks.

When a session is opened or closed, or there is data to process, the related callback is invoked.

Since:

1.0

Version:

1.0

Summary

Data Fields

Variable Name

Description

onSessionOpened )(int sessionId)

int(* 

Called when a session is opened.

onSessionClosed )(int sessionId)

void(* 

Called when a session is closed.

onBytesReceived )(int sessionId, const void *data, unsigned int dataLen)

void(* 

Called when data is received.

1
https://gitee.com/tmmahui/docs.git
git@gitee.com:tmmahui/docs.git
tmmahui
docs
docs
master

Search