Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

AnyInterface Class Reference

#include <sbimpl.h>

Inheritance diagram for AnyInterface:

CorbaSoap PortableServer::DynamicImplementation List of all members.

Public Methods

 AnyInterface (const char *soapAddr, const char *intfName, const char *ctxKey, SOAPBridge::CORBACallback_ptr cb)
virtual ~AnyInterface ()
virtual CORBA::RepositoryId _primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr)
virtual CORBA::Boolean _is_a (const char *name) throw (CORBA::SystemException)
virtual void invoke (CORBA::ServerRequest_ptr request) throw ()
 Invoke calls a SOAP server for the specified CORBA service. More...


Public Attributes

CString m_Addr
CString m_Intf
CString m_Ctxk
SOAPBridge::CORBACallback_var m_cb

Protected Attributes

JTCMonitor monitor

Private Methods

virtual void aFault (FaultCode fCode, const char *fSubCode, const char *fString)
 error reporting. More...

virtual void CheckTag (char *cNam, DOM_Node &node) throw (DOM_Document &)
void ErrorCallback (const char *name, const char *msg)
 Attempt to deliver a problem report to the caller. More...


Constructor & Destructor Documentation

AnyInterface::AnyInterface ( const char * soapAddr,
const char * intfName,
const char * ctxKey,
SOAPBridge::CORBACallback_ptr cb ) [inline]
 

Definition at line 150 of file sbimpl.h.

AnyInterface::~AnyInterface ( ) [inline, virtual]
 

Definition at line 163 of file sbimpl.h.


Member Function Documentation

void AnyInterface::CheckTag ( char * cNam,
DOM_Node & node ) throw (DOM_Document &) [inline, private, virtual]
 

Reimplemented from CorbaSoap.

Definition at line 139 of file sbimpl.h.

void AnyInterface::ErrorCallback ( const char * name,
const char * msg ) [private]
 

Attempt to deliver a problem report to the caller.

Parameters:
name   The name of the method that was being invoked.
msg   A description of the problem.

Definition at line 64 of file CorbaCall.cpp.

CORBA::Boolean AnyInterface::_is_a ( const char * name ) throw (CORBA::SystemException) [virtual]
 

Definition at line 37 of file CorbaCall.cpp.

CORBA::RepositoryId AnyInterface::_primary_interface ( const PortableServer::ObjectId & oid,
PortableServer::POA_ptr pPoa ) [virtual]
 

Definition at line 378 of file CorbaCall.cpp.

void AnyInterface::aFault ( FaultCode fCode,
const char * fSubCode,
const char * fString ) [inline, private, virtual]
 

error reporting.

Reimplemented from CorbaSoap.

Definition at line 134 of file sbimpl.h.

void AnyInterface::invoke ( CORBA::ServerRequest_ptr request ) throw () [virtual]
 

Invoke calls a SOAP server for the specified CORBA service.

This function performs the following actions:

  • The method invoked is looked up in the IRPlus.
  • A SOAP request is formed with the values from the CORBA invocation that brought us here.
  • The request is transmitted to the SOAP server (using cURL).
  • The SOAP response is parsed and the return and out values are obtained.
  • If a SOAP fault occurred, this is transmitted to the caller.

Definition at line 92 of file CorbaCall.cpp.


Member Data Documentation

CString AnyInterface::m_Addr
 

Definition at line 147 of file sbimpl.h.

CString AnyInterface::m_Ctxk
 

Definition at line 147 of file sbimpl.h.

CString AnyInterface::m_Intf
 

Definition at line 147 of file sbimpl.h.

SOAPBridge::CORBACallback_var AnyInterface::m_cb
 

Definition at line 148 of file sbimpl.h.

JTCMonitor AnyInterface::monitor [protected]
 

Definition at line 145 of file sbimpl.h.


The documentation for this class was generated from the following files:
This documentation is part of the "SOAP to CORBA bridge" project
Copyright © 2000 by Lifeline Networks bv.
All rights are reserved.