13#ifndef __xwmd_isc_xwssc_cxx_XwsscProxy_hxx__
14#define __xwmd_isc_xwssc_cxx_XwsscProxy_hxx__
xwer_t asyncWrite(const xwu8_t data[], xwsz_t *size, xwssc_txh_t *txhbuf)
异步发送数据
enum xwssc_carrier_state_em getAsyncWriteState(xwssc_txh_t txh)
获取异步发送状态
xwer_t write(const xwu8_t data[], xwsz_t *size)
发送数据,并同步等待发送结果
xwer_t abortAsyncWrite(xwssc_txh_t txh)
中断异步发送
xwer_t read(xwu8_t rxbuf[], xwsz_t *size)
接收数据,若数据为空,就无限等待
static void sOnAsyncWrited(struct xwssc *xwssc, xwssc_txh_t txh, xwer_t rc, void *arg)
virtual void onAsyncWrited(xwssc_txh_t txh, xwer_t rc)
xwer_t tryRead(xwu8_t rxbuf[], xwsz_t *size)
尝试接收消息,若接收队列为空,立即返回错误码
xwssc_carrier_state_em
发送状态枚举
xwsq_t xwssc_get_txstate(xwssc_txh_t txh)
XWSSC API: 获取发送状态
xws64_t xwtm_t
XWOS系统时间 (有符号)