public class UtpInputStream extends InputStream
| Constructor and Description |
|---|
UtpInputStream(short nextSequenceNumber) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
consumedFromBuffer(ByteBuffer buffer) |
boolean |
isCompleteUntil(short sequenceNumber) |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
submitData(short sequenceNumber,
byte[] data) |
close, mark, markSupported, read, reset, skippublic void submitData(short sequenceNumber,
byte[] data)
public int available()
available in class InputStreampublic int read(byte[] b,
int off,
int len)
read in class InputStreampublic int read()
read in class InputStreampublic void consumedFromBuffer(ByteBuffer buffer)
public boolean isCompleteUntil(short sequenceNumber)
Copyright © 2017. All rights reserved.