public final class IpV4StreamIdOption extends Object implements IpV4Packet.IpV4Option
Modifier and Type | Class and Description |
---|---|
static class |
IpV4StreamIdOption.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
IpV4StreamIdOption.Builder |
getBuilder() |
byte |
getLength() |
int |
getLengthAsInt() |
byte[] |
getRawData() |
short |
getStreamId() |
int |
getStreamIdAsInt() |
IpV4OptionType |
getType() |
int |
hashCode() |
int |
length() |
static IpV4StreamIdOption |
newInstance(byte[] rawData,
int offset,
int length)
A static factory method.
|
String |
toString() |
public static IpV4StreamIdOption newInstance(byte[] rawData, int offset, int length) throws IllegalRawDataException
ByteArrays.validateBounds(byte[], int, int)
,
which may throw exceptions undocumented here.rawData
- offset
- length
- IllegalRawDataException
public IpV4OptionType getType()
getType
in interface IpV4Packet.IpV4Option
public byte getLength()
public int getLengthAsInt()
public short getStreamId()
public int getStreamIdAsInt()
public int length()
length
in interface IpV4Packet.IpV4Option
public byte[] getRawData()
getRawData
in interface IpV4Packet.IpV4Option
public IpV4StreamIdOption.Builder getBuilder()
Copyright © 2014. All Rights Reserved.