1 Star 0 Fork 5.2K

seanOY / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
isessionlistener.md 2.74 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/seanoy/docs.git
git@gitee.com:seanoy/docs.git
seanoy
docs
docs
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891