protected Packet(short packettype){
  sig=new byte[]{'X','B','M','C'};
  minver=0;
  majver=2;
  this.packettype=packettype;
}

protected Packet ( short packettype ) { sig = new byte [ ] { 'X' , 'B' , 'M' , 'C' } ; minver = 0 ; majver = 2 ; this . packettype = packettype ; }
this is an abstract class and cannot be instanced . please use one of the packet implementation classes ( packetxxx ) . implements an xbmc event client packet . type is to be specified at creation time , payload can be added with the various appendpayload methods . packet can be sent through udp - socket with method " send " .
