1 Star 0 Fork 4.9K

Lin_bruin / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
ISessionListener.md 2.76 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 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/dreaminghell/docs.git
git@gitee.com:dreaminghell/docs.git
dreaminghell
docs
docs
master

搜索帮助