
public class StartupPacket extends AbstractLocalPacket
1 localId (Integer): localId
end, header, middle| Constructor and Description |
|---|
StartupPacket(Integer newId,
boolean fromSsl) |
| Modifier and Type | Method and Description |
|---|---|
void |
createEnd(LocalChannelReference lcr)
Prepare the End buffer
|
static StartupPacket |
createFromBuffer(int headerLength,
int middleLength,
int endLength,
io.netty.buffer.ByteBuf buf) |
void |
createHeader(LocalChannelReference lcr)
Prepare the Header buffer
|
void |
createMiddle(LocalChannelReference lcr)
Prepare the Middle buffer
|
Integer |
getLocalId() |
byte |
getType() |
boolean |
isFromSsl() |
String |
toString() |
clear, getLocalPacket, retainpublic StartupPacket(Integer newId, boolean fromSsl)
newId - public static StartupPacket createFromBuffer(int headerLength, int middleLength, int endLength, io.netty.buffer.ByteBuf buf)
headerLength - middleLength - endLength - buf - public void createEnd(LocalChannelReference lcr) throws OpenR66ProtocolPacketException
AbstractLocalPacketcreateEnd in class AbstractLocalPacketOpenR66ProtocolPacketExceptionpublic void createHeader(LocalChannelReference lcr) throws OpenR66ProtocolPacketException
AbstractLocalPacketcreateHeader in class AbstractLocalPacketOpenR66ProtocolPacketExceptionpublic void createMiddle(LocalChannelReference lcr) throws OpenR66ProtocolPacketException
AbstractLocalPacketcreateMiddle in class AbstractLocalPacketOpenR66ProtocolPacketExceptionpublic String toString()
toString in class AbstractLocalPacketpublic byte getType()
getType in class AbstractLocalPacketpublic Integer getLocalId()
public boolean isFromSsl()
Copyright © 2009–2020 Waarp. All rights reserved.