MCPcopy Create free account
hub / github.com/DeNA/PacketProxy / getOneShotPacket

Method getOneShotPacket

src/main/java/core/packetproxy/model/Packet.java:129–133  ·  view source on GitHub ↗
(byte[] data)

Source from the content-addressed store, hash-verified

127 }
128
129 public OneShotPacket getOneShotPacket(byte[] data) {
130 return new OneShotPacket(getId(), getListenPort(), getClient(), getServer(), getServerName(), getUseSSL(), data,
131 getEncoder(), getAlpn(), getDirection(), getConn(), getGroup());
132
133 }
134
135 public void setModifiedData(byte[] data) {
136 this.modified_data = data;

Callers 5

receivedMethod · 0.95
actionPerformedMethod · 0.95
actionPerformedMethod · 0.95
RawTextPaneMethod · 0.95
buildMethod · 0.95

Calls 11

getIdMethod · 0.95
getListenPortMethod · 0.95
getClientMethod · 0.95
getServerMethod · 0.95
getServerNameMethod · 0.95
getUseSSLMethod · 0.95
getEncoderMethod · 0.95
getAlpnMethod · 0.95
getDirectionMethod · 0.95
getConnMethod · 0.95
getGroupMethod · 0.95

Tested by

no test coverage detected