public final class SshPacket extends AbstractPacket
AbstractPacket.AbstractBuilder, AbstractPacket.AbstractHeader
Packet.Builder, Packet.Header
Modifier and Type | Method and Description |
---|---|
Packet.Builder |
getBuilder() |
static Packet |
newPacket(byte[] rawData,
int offset,
int length)
A static factory method.
|
buildHexString, buildRawData, buildString, calcHashCode, calcLength, contains, equals, get, getHeader, getOuterOf, getPayload, getRawData, hashCode, iterator, length, toHexString, toString
public static Packet newPacket(byte[] rawData, int offset, int length) throws IllegalRawDataException
ByteArrays.validateBounds(byte[], int, int)
,
which may throw exceptions undocumented here.rawData
- offset
- length
- IllegalRawDataException
public Packet.Builder getBuilder()
getBuilder
in interface Packet
getBuilder
in class AbstractPacket
Copyright © 2014. All Rights Reserved.