CORBA 2.3.7 Programmer's Guide for C++

Chapter 11. Writing Wrappers for Legacy Clients and Servers
Prev
Next
Chapter 11. Writing Wrappers for Legacy Clients and
Servers
Table of Contents
Writing a Wrapper for a Legacy Server
Basic Structure of a Server Wrapper
Calling a Context-Free Pathway Server for Nowait Operations
Calling a Context-Free or Context-Sensitive Pathsend Server for Waited Operations
Calling a TCP/IP Server
Calling Other Types of Legacy Servers
Managing Transactions in Server Wrappers
Writing a Wrapper for a Legacy Client
Basic Structure of a Client Wrapper
Writing a Client Wrapper for a Context-Free Pathsend Requester
Writing a Client Wrapper for a Remote (TCP/IP) Client
Writing Other Types of Client Wrappers
Managing Transactions in Client Wrappers
The NonStop CORBA Event Framework APIs
Design of the Event Framework
Header Files
Base Event-Handler Interfaces
Event Framework Messages and Message Data Descriptors
Guardian File-System Event Handlers and Event-Handler Users (Class NSDEFw_GFS)
TS/MP Event Handlers and Event-Handler Users (Class NSDEFw_GCF)
TCP/IP Socket Event Handlers and Event-Handler Users (Classes Fw_Event, Fw_Sock_Client_EH,
Fw_Sock_Server_EH, and Fw_Sock_Listener_EH)
This section describes how to write a NonStop CORBA application that includes existing non-CORBA clients or existing
non-CORBA servers.
Note
In this section, the term legacy refers to any client or server program that is not a CORBA program. Such a program
may be an older program that you want to incorporate into a NonStop CORBA application without making changes to it,
but that does not have to be the case.
Legacy wrapping is a technique that enables a CORBA-based program to interoperate with a non-CORBA-based client
or server. A legacy wrapper is a NonStop CORBA program that wraps around a non-CORBA program so that the
non-CORBA program can be integrated with standard CORBA programs.