Beispiel #1
0
        /**
         * Sets this packet as bare. A bare packet will contain only the payload
         * data, rather than having the standard packet header prepended.
         *
         * @param bare Whether this packet is to be sent bare
         */

        public PacketBuilder setSize(Packet.Size size)
        {
            this.size = size;
            return(this);
        }
Beispiel #2
0
 /**
  * Sets this packet as bare. A bare packet will contain only the payload
  * data, rather than having the standard packet header prepended.
  *
  * @param bare Whether this packet is to be sent bare
  */
 public PacketBuilder setSize(Packet.Size size)
 {
     this.size = size;
     return this;
 }