Modifier and Type | Class and Description |
---|---|
static class |
Sctp.Chunk.Type
Chunk types.
|
Constructor and Description |
---|
Chunk(Sctp.Chunk.Type type,
int flags,
byte[] data)
Constructor to create a new chunk.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
data()
Returns a copy of the chunk data bytes.
|
int |
flags()
Returns the chunk flags.
|
String |
toString() |
Sctp.Chunk.Type |
type()
Returns the chunk type.
|
public Chunk(Sctp.Chunk.Type type, int flags, byte[] data)
type
- chunk typeflags
- chunk flagsdata
- chunk payload datapublic Sctp.Chunk.Type type()
public int flags()
public byte[] data()
Copyright © 2016. All Rights Reserved.