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

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

There is a newer version: 1.1.4
Show newest version
package com.litongjava.aio;

/**
 *
 * @author tanyaowu
 * 2017年4月1日 上午9:34:42
 */
public class EncodedPacket extends Packet {

	private static final long	serialVersionUID	= 1014364783783749718L;
	private byte[]				bytes;

	/**
	 *
	 *
	 * @author tanyaowu
	 *
	 */
	public EncodedPacket(byte[] bytes) {
		this.bytes = bytes;
	}

	/**
	 * @return the bytes
	 */
	public byte[] getBytes() {
		return bytes;
	}

	/**
	 * @param bytes the bytes to set
	 */
	public void setBytes(byte[] bytes) {
		this.bytes = bytes;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy