All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.litongjava.aio.ByteBufferPacket Maven / Gradle / Ivy

There is a newer version: 1.1.5
Show newest version
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