#pragma once

#include "sip_codec_request.hh"

class Base_Type;
class TTCN_Typedescriptor_t;
class TTCN_Buffer;

namespace LibSip__SIPTypesAndValues {
  class BYE__Request;
}

class sip_codec_bye_request: public codec_gen <
LibSip__SIPTypesAndValues::BYE__Request,
LibSip__SIPTypesAndValues::BYE__Request>
{
  sip_codec_request _codec;
public:
  explicit sip_codec_bye_request() : codec_gen<LibSip__SIPTypesAndValues::BYE__Request, LibSip__SIPTypesAndValues::BYE__Request>(), _codec() { };
  virtual ~sip_codec_bye_request() { };

  virtual int encode (const LibSip__SIPTypesAndValues::BYE__Request& msg, OCTETSTRING& data);
  virtual int decode (const OCTETSTRING& data, LibSip__SIPTypesAndValues::BYE__Request& msg, params* p_params = NULL);
}; // End of class sip_codec_bye_request
