public class FragmentAggregatorTempfile extends Object implements FragmentAggregator
| 构造器和说明 |
|---|
FragmentAggregatorTempfile(MessageInternal main) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
add(int index,
MessageInternal message)
添加分片
|
Frame |
get()
获取聚合帧
|
int |
getDataLength()
数据总长度
|
int |
getDataStreamSize()
数据流大小
|
String |
getSid()
获取消息流Id(用于消息交互、分片)
|
public FragmentAggregatorTempfile(MessageInternal main) throws IOException
IOExceptionpublic String getSid()
getSid 在接口中 FragmentAggregatorpublic int getDataStreamSize()
getDataStreamSize 在接口中 FragmentAggregatorpublic int getDataLength()
getDataLength 在接口中 FragmentAggregatorpublic void add(int index,
MessageInternal message)
throws IOException
add 在接口中 FragmentAggregatorIOExceptionpublic Frame get() throws IOException
get 在接口中 FragmentAggregatorIOExceptionCopyright © 2024. All rights reserved.