/* -*- C++ -*- */
// $Id: URL_Status.cpp 80826 2008-03-04 14:51:23Z wotte $

#include "URL_Status.h"

ACE_RCSID(Web_Crawler, URL_Status, "$Id: URL_Status.cpp 80826 2008-03-04 14:51:23Z wotte $")

URL_Status::URL_Status (STATUS_CODE code)
  : status_ (code)
{
}

URL_Status::URL_Status (const URL_Status &s)
  : status_ (s.status_)
{
}

URL_Status::STATUS_CODE
URL_Status::status (void) const
{
  return this->status_;
}

void
URL_Status::status (int s)
{
  this->status_ = URL_Status::STATUS_CODE (s);
}

void
URL_Status::status (URL_Status::STATUS_CODE s)
{
  this->status_ = s;
}

int URL_Status::destroy (void)
{
  delete this;
  return 0;
}
