com.litongjava.aio.ByteBufferPacket Maven / Gradle / Ivy
package com.litongjava.aio;
import java.nio.ByteBuffer;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
@NoArgsConstructor
@AllArgsConstructor
public class ByteBufferPacket extends Packet {
private static final long serialVersionUID = 1L;
private ByteBuffer byteBuffer;
public void setByteBuffer(ByteBuffer byteBuffer) {
this.byteBuffer = byteBuffer;
}
public ByteBuffer getByteBuffer() {
return byteBuffer;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy