public XbeeProtocolFactory() {
   super.addMessageDecoder(IoDataReceiveDecoder.new16BitAddressDecoder());
   super.addMessageDecoder(IoDataReceiveDecoder.new64BitAddressDecoder());
   super.addMessageDecoder(new AtCommandResponseDecoder());
   super.addMessageDecoder(new AtRemoteCommandResponseDecoder());
   super.addMessageEncoder(AtCommand.class, AtCommandEncoder.class);
 }
  /** Constructs ... */
  public CHYCAProtocolCodecFactory() {
    super.addMessageDecoder(CHYCAErrorMessageDecoder.class);
    super.addMessageDecoder(CHYCAMessageDecoder.class);

    super.addMessageEncoder(CHYCAOutMessage.class, CHYCAMessageEncoder.class);
  }