xrtSshChannelOpenWrite
写入或读取可扩展 channel open。
| 参数 | 说明 |
|---|---|
| xsshwriter* pWriter | 写入器 |
| xstrview Type | 类型 |
| uint32 iSender | 发件人通道号 |
| uint32 iWindow | 窗口大小 |
| uint32 iMaxPacket | MaxPacket 参数 |
| xbytesview Fields | Felds 参数 |
示例已编译验证
/* 写入或读取可扩展 channel open。 */ result = xrtSshChannelOpenWrite(pWriter, Type, iSender, iWindow, iMaxPacket, Fields);
xrtSshChannelOpenRead
XRT_API xsshcode xrtSshChannelOpenRead( xbytesview Payload, xsshchannelopen* pOpen );
示例已编译验证
/* XRT_API xsshcode xrtSshChannelOpenRead( xbytesview Payload, xsshchannelopen* pOpen ); */ result = xrtSshChannelOpenRead();
xrtSshChannelOpenConfirmationWrite
写入或读取带类型专用字段的 channel open confirmation。
| 参数 | 说明 |
|---|---|
| xsshwriter* pWriter | 写入器 |
| uint32 iRecipient | 收件人通道号 |
| uint32 iSender | 发件人通道号 |
| uint32 iWindow | 窗口大小 |
| uint32 iMaxPacket | MaxPacket 参数 |
| xbytesview Fields | Felds 参数 |
示例已编译验证
/* 写入或读取带类型专用字段的 channel open confirmation。 */ result = xrtSshChannelOpenConfirmationWrite(pWriter, iRecipient, iSender, iWindow, iMaxPacket, Fields);
xrtSshChannelOpenConfirmationRead
XRT_API xsshcode xrtSshChannelOpenConfirmationRead( xbytesview Payload, xsshchannelconfirmation* pConfirmation );
示例已编译验证
/* XRT_API xsshcode xrtSshChannelOpenConfirmationRead( xbytesview Payload, xsshchannelconfirmation* pConfirmation ); */ result = xrtSshChannelOpenConfirmationRead();
xrtSshChannelOpenFailureWrite
写入或读取 channel open failure。
| 参数 | 说明 |
|---|---|
| xsshwriter* pWriter | 写入器 |
| uint32 iRecipient | 收件人通道号 |
| uint32 iReason | 原因文本 |
| xstrview Description | 描述文本 |
| xstrview Language | Language 参数 |
示例已编译验证
/* 写入或读取 channel open failure。 */ result = xrtSshChannelOpenFailureWrite(pWriter, iRecipient, iReason, Description, Language);
xrtSshChannelOpenFailureRead
XRT_API xsshcode xrtSshChannelOpenFailureRead( xbytesview Payload, xsshchannelopenfailure* pFailure );
示例已编译验证
/* XRT_API xsshcode xrtSshChannelOpenFailureRead( xbytesview Payload, xsshchannelopenfailure* pFailure ); */ result = xrtSshChannelOpenFailureRead();
xrtSshChannelWindowAdjustWrite
写入或读取 channel window adjust。
| 参数 | 说明 |
|---|---|
| xsshwriter* pWriter | 写入器 |
| uint32 iRecipient | 收件人通道号 |
| uint32 iBytes | 字节数 |
示例已编译验证
/* 写入或读取 channel window adjust。 */ result = xrtSshChannelWindowAdjustWrite(pWriter, iRecipient, iBytes);
xrtSshChannelWindowAdjustRead
XRT_API xsshcode xrtSshChannelWindowAdjustRead( xbytesview Payload, xsshchanneladjust* pAdjust );
示例已编译验证
/* XRT_API xsshcode xrtSshChannelWindowAdjustRead( xbytesview Payload, xsshchanneladjust* pAdjust ); */ result = xrtSshChannelWindowAdjustRead();
xrtSshChannelDataWrite
写入或读取普通 channel data。
| 参数 | 说明 |
|---|---|
| xsshwriter* pWriter | 写入器 |
| uint32 iRecipient | 收件人通道号 |
| xbytesview Data | 数据内容 |
示例已编译验证
/* 写入或读取普通 channel data。 */ result = xrtSshChannelDataWrite(pWriter, iRecipient, Data);
xrtSshChannelDataRead
XRT_API xsshcode xrtSshChannelDataRead( xbytesview Payload, xsshchanneldata* pData );
示例已编译验证
/* XRT_API xsshcode xrtSshChannelDataRead( xbytesview Payload, xsshchanneldata* pData ); */ result = xrtSshChannelDataRead();
xrtSshChannelExtendedDataWrite
写入或读取带类型码的 channel extended data。
| 参数 | 说明 |
|---|---|
| xsshwriter* pWriter | 写入器 |
| uint32 iRecipient | 收件人通道号 |
| uint32 iType | 类型 |
| xbytesview Data | 数据内容 |
示例已编译验证
/* 写入或读取带类型码的 channel extended data。 */ result = xrtSshChannelExtendedDataWrite(pWriter, iRecipient, iType, Data);
xrtSshChannelExtendedDataRead
XRT_API xsshcode xrtSshChannelExtendedDataRead( xbytesview Payload, xsshchannelextendeddata* pData );
示例已编译验证
/* XRT_API xsshcode xrtSshChannelExtendedDataRead( xbytesview Payload, xsshchannelextendeddata* pData ); */ result = xrtSshChannelExtendedDataRead();
xrtSshChannelEofWrite
写入或严格读取 channel EOF。
| 参数 | 说明 |
|---|---|
| xsshwriter* pWriter | 写入器 |
| uint32 iRecipient | 收件人通道号 |
示例已编译验证
/* 写入或严格读取 channel EOF。 */ result = xrtSshChannelEofWrite(pWriter, iRecipient);
xrtSshChannelEofRead
XRT_API xsshcode xrtSshChannelEofRead( xbytesview Payload, uint32* pRecipient );
示例已编译验证
/* XRT_API xsshcode xrtSshChannelEofRead( xbytesview Payload, uint32* pRecipient ); */ result = xrtSshChannelEofRead();
xrtSshChannelCloseWrite
写入或严格读取 channel close。
| 参数 | 说明 |
|---|---|
| xsshwriter* pWriter | 写入器 |
| uint32 iRecipient | 收件人通道号 |
示例已编译验证
/* 写入或严格读取 channel close。 */ result = xrtSshChannelCloseWrite(pWriter, iRecipient);
xrtSshChannelCloseRead
XRT_API xsshcode xrtSshChannelCloseRead( xbytesview Payload, uint32* pRecipient );
示例已编译验证
/* XRT_API xsshcode xrtSshChannelCloseRead( xbytesview Payload, uint32* pRecipient ); */ result = xrtSshChannelCloseRead();
xrtSshChannelRequestWrite
写入或读取保留未知专用字段的 channel request。
| 参数 | 说明 |
|---|---|
| xsshwriter* pWriter | 写入器 |
| uint32 iRecipient | 收件人通道号 |
| xstrview Type | 类型 |
| bool bWantReply | bWantRely 参数 |
| xbytesview Fields | Felds 参数 |
示例已编译验证
/* 写入或读取保留未知专用字段的 channel request。 */ result = xrtSshChannelRequestWrite(pWriter, iRecipient, Type, bWantReply, Fields);
xrtSshChannelRequestRead
XRT_API xsshcode xrtSshChannelRequestRead( xbytesview Payload, xsshchannelrequest* pRequest );
示例已编译验证
/* XRT_API xsshcode xrtSshChannelRequestRead( xbytesview Payload, xsshchannelrequest* pRequest ); */ result = xrtSshChannelRequestRead();
xrtSshChannelSuccessWrite
写入或严格读取 channel request success。
| 参数 | 说明 |
|---|---|
| xsshwriter* pWriter | 写入器 |
| uint32 iRecipient | 收件人通道号 |
示例已编译验证
/* 写入或严格读取 channel request success。 */ result = xrtSshChannelSuccessWrite(pWriter, iRecipient);
xrtSshChannelSuccessRead
XRT_API xsshcode xrtSshChannelSuccessRead( xbytesview Payload, uint32* pRecipient );
示例已编译验证
/* XRT_API xsshcode xrtSshChannelSuccessRead( xbytesview Payload, uint32* pRecipient ); */ result = xrtSshChannelSuccessRead();
xrtSshChannelFailureWrite
写入或严格读取 channel request failure。
| 参数 | 说明 |
|---|---|
| xsshwriter* pWriter | 写入器 |
| uint32 iRecipient | 收件人通道号 |
示例已编译验证
/* 写入或严格读取 channel request failure。 */ result = xrtSshChannelFailureWrite(pWriter, iRecipient);
xrtSshChannelFailureRead
XRT_API xsshcode xrtSshChannelFailureRead( xbytesview Payload, uint32* pRecipient );
示例已编译验证
/* XRT_API xsshcode xrtSshChannelFailureRead( xbytesview Payload, uint32* pRecipient ); */ result = xrtSshChannelFailureRead();