2005/5/9

     
 

XMLDelegate.h

artefaktur
// -*- mode:C++; tab-width:2; c-basic-offset:2; indent-tabs-mode:nil -*- 
//
// Copyright (C) 2000-2005 by Roger Rene Kommer / artefaktur, Kassel, Germany.
// 
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Library General Public License (LGPL).
// 
// 
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the 
// License ACDK-FreeLicense document enclosed in the distribution
// for more for more details.
// This file is part of the Artefaktur Component Development Kit:
//                         ACDK
// 
// Please refer to
// - http://www.acdk.de
// - http://www.artefaktur.com
// - http://acdk.sourceforge.net
// for more information.
// 
// $Header: /cvsroot/acdk/acdk/acdkx_orb/src/acdkx/arb/XMLDelegate.h,v 1.8 2005/02/05 10:45:39 kommer Exp $
#ifndef acdkx_arb_XMLDelegate_h
#define acdkx_arb_XMLDelegate_h

#include "ADelegate.h"
#include <acdk/xml/XMLObjectReader.h>
#include <acdkx/orb/orb.h>

namespace acdkx {
namespace arb {


ACDK_DECL_INTERFACE(XMLDelegate);

class ACDKX_ARB_PUBLIC XMLDelegate
: extends ::acdk::lang::Object,
  implements ADelegate
{
public:
  virtual void invoke(IN(RARB) arb, IN(RObjectID) objid, const ::acdk::lang::dmi::ClazzMethodInfo* cmi, ::acdk::lang::dmi::ScriptVarArray& args, 
                                                                       ::acdk::lang::dmi::ScriptVarArray& ergs, 
                                                                       ::acdk::lang::dmi::ScriptVar& _theEx);
  virtual void dispatch(IN(RARB) arb, IN(::acdk::io::RReader) in, IN(::acdk::io::RWriter) out);

  void readInvoke(IN(RARB) arb, IN(::acdk::xml::RXMLTokenizer) tin, IN(RString) name, OUT(RString) fromObject, OUT(RString) toObject, 
                  OUT(RString) funcname, ::acdk::lang::dmi::ScriptVarArray& args, ::acdk::lang::dmi::ScriptVar& _theEx);

};



} // namespace arb 
} // namespace acdkx 
#endif //acdkx_arb_XMLDelegate_h