Next:
Introduction
Up:
Writing Value-Added Servers with
Previous:
Writing Value-Added Servers with
Contents
Introduction
Goals
What this Tutorial Is
What this Tutorial Is Not
The Example System
What the Grid VAS and Grid Client Do
What the Grid Example Demonstrates
What the Grid Example Does Not Demonstrate
Tutorial Organization
Storage Structure Organization
Implemented Design
Alternative Designs
Operations on Storage Structures
Code Road-map
Initializing Devices and Volumes
Updates and Save-points
Pinning and Updating Records
Implementing a Multi-Threaded Server
Error Codes
Startup
Configuration Options
SSM Initialization
Thread Management
Listener Thread
Client Threads
Cleaner Thread
Terminal Input Thread
Transaction and Lock Management
RPC Implementation
Declarations
C++ Wrappers
RPC Startup
Multi-threading Issues
Steps to add a New RPC
Shutdown
Implementing Clients
Connection Management
Client Side of RPCs
Compiling the Example
Running the Example
Appendix: Program Sources
Code Shared by Client and Server
Makefile: Makefile.template
RPC Declarations: msg.x
grid_basics.h
grid_basics.C
command.h
command.C
Configuration Options: options.C
Server Code
Main: server.C
command_server.h
command_server.C
server_stubs.C
grid.h
grid.C
rpc_thread.h
rpc_thread.C
Client Code
Main: client.C
command_client.h
command_client.C
Marvin Solomon
Fri Aug 2 13:40:14 CDT 1996