Top Description Fields Constructors Methods
com.mysql.cj.protocol.a

public Class PacketSplitter

extends Object
Class Inheritance

Keep track of splitting a large packet into multi-packets segments.

Field Summary

Modifier and TypeField and Description
private int
private int
private int

Constructor Summary

AccessConstructor and Description
public
PacketSplitter(int totalSize)

Method Summary

Modifier and TypeMethod and Description
public int
public int
public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

currentPacketLenback to summary
private int currentPacketLen
offsetback to summary
private int offset
totalSizeback to summary
private int totalSize

Constructor Detail

PacketSplitterback to summary
public PacketSplitter(int totalSize)

Method Detail

getOffsetback to summary
public int getOffset()
getPacketLenback to summary
public int getPacketLen()
nextPacketback to summary
public boolean nextPacket()