CORBA 2.3.3 Programmer's Guide for C++
to provide an Fw_Listener_EH implementation.
Class NSDEFw_GFS::Server
The NSDEFw_GFS::Server class provides classes and methods needed by a server event handler that performs
Guardian file-system style communication with a legacy client in cooperation with a listener event handler. It defines a
hashable address abstraction used to uniquely identify a connection, an event passed from a Receive_EH object, and an
event handler that uses the address abstraction and event to provide an Fw_Server_EH implementation.
Events are generated by the Receive_EH object upon receipt of WRITE, READ, WRITEREAD, and CLOSE
messages. The associated data fields are populated with data from READUPDATE and RECEIVEINFO.
TS/MP Event Handlers and Event-Handler Users (Class NSDEFw_GCF)
The NSDEFw_GCF class, in the gcfehoss.h header file, builds upon components of the NSDEFw_GFS class and
implements a TS/MP specialization of the Guardian file system. The NSDEFw_GCF class is intended primarily for
internal use by NonStop CORBA.
The register_file_number() method in NSDEFw_GCF::Client, however, may be useful in server wrappers
that issue nowait Pathsend requests without the use of a jacket procedure. This method makes a file number returned by a
Pathsend call available to the NonStop CORBA pthread mechanism for I/O completions.
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)
The classes in the header file sockeh.h enable client, server, and listener event handlers to use the TCP/IP socket
interfaces. These classes provide:
An abstraction of a socket address (class Fw_Sock_Address)●
A socket client event handler (class Fw_Sock_Client_EH) that implements Fw_Client_EH using the socket
address abstraction
●
A socket listener event handler (class Fw_Sock_Listener_EH) that implements Fw_Listener_EH using the
socket address abstraction
●
A socket server event handler (class Fw_Sock_Server_EH) that implements Fw_Server_EH using the socket
address abstraction
●
A get/put recycling factory●
Prev Up Next
Chapter 10. Porting CORBA
Applications to NonStop CORBA
Home
Appendix A. Architectural Walkthrough