Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

CMS_SERVER_LOCAL_PORT Class Reference

#include <cms_srv.hh>

Inheritance diagram for CMS_SERVER_LOCAL_PORT:

Inheritance graph
[legend]
Collaboration diagram for CMS_SERVER_LOCAL_PORT:

Collaboration graph
[legend]

Public Methods

 CMS_SERVER_LOCAL_PORT (CMS *_cms)
virtual ~CMS_SERVER_LOCAL_PORT ()

Data Fields

int local_channel_reused

Protected Methods

virtual REMOTE_READ_REPLYreader (REMOTE_READ_REQUEST *req)
virtual REMOTE_READ_REPLYblocking_read (REMOTE_READ_REQUEST *req)
virtual REMOTE_WRITE_REPLYwriter (REMOTE_WRITE_REQUEST *buf)
virtual REMOTE_SET_DIAG_INFO_REPLYset_diag_info (REMOTE_SET_DIAG_INFO_REQUEST *buf)
virtual REMOTE_GET_DIAG_INFO_REPLYget_diag_info (REMOTE_GET_DIAG_INFO_REQUEST *buf)
virtual REMOTE_GET_MSG_COUNT_REPLYget_msg_count (REMOTE_GET_DIAG_INFO_REQUEST *buf)
virtual void reset_diag_info ()

Protected Attributes

long buffer_number
int list_id
int security_enabled
CMS_DIAG_PROC_INFOorig_info
REMOTE_READ_REPLY read_reply
REMOTE_WRITE_REPLY write_reply
REMOTE_GET_BUF_NAME_REPLY namereply
REMOTE_GET_DIAG_INFO_REPLY get_diag_info_reply

Friends

class CMS_SERVER

Constructor & Destructor Documentation

CMS_SERVER_LOCAL_PORT::CMS_SERVER_LOCAL_PORT CMS   _cms
 

Definition at line 171 of file cms_srv.cc.

00172 {
00173   local_channel_reused = 1;
00174   security_enabled = 0;
00175   cms = _cms;
00176   orig_info = NULL;
00177   if (NULL != cms)
00178     {
00179       buffer_number = cms->buffer_number;
00180     }
00181   else
00182     {
00183       buffer_number = 0;
00184     }
00185   list_id = 0;
00186 };

CMS_SERVER_LOCAL_PORT::~CMS_SERVER_LOCAL_PORT   [virtual]
 

Definition at line 188 of file cms_srv.cc.

00189 {
00190   if (NULL != orig_info)
00191     {
00192       delete orig_info;
00193       orig_info = NULL;
00194     }
00195 }


Member Function Documentation

REMOTE_READ_REPLY * CMS_SERVER_LOCAL_PORT::reader REMOTE_READ_REQUEST   _req [protected, virtual]
 

Reimplemented in NML_SERVER_LOCAL_PORT.

Definition at line 199 of file cms_srv.cc.

Referenced by CMS_SERVER::process_request().

00200 {
00201   return (NULL);
00202 }

REMOTE_READ_REPLY * CMS_SERVER_LOCAL_PORT::blocking_read REMOTE_READ_REQUEST   _req [protected, virtual]
 

Reimplemented in NML_SERVER_LOCAL_PORT.

Definition at line 205 of file cms_srv.cc.

Referenced by CMS_SERVER::process_request().

00206 {
00207   return (NULL);
00208 }

REMOTE_WRITE_REPLY * CMS_SERVER_LOCAL_PORT::writer REMOTE_WRITE_REQUEST   _req [protected, virtual]
 

Reimplemented in NML_SERVER_LOCAL_PORT.

Definition at line 212 of file cms_srv.cc.

Referenced by CMS_SERVER::process_request().

00213 {
00214   return (NULL);
00215 }

REMOTE_SET_DIAG_INFO_REPLY * CMS_SERVER_LOCAL_PORT::set_diag_info REMOTE_SET_DIAG_INFO_REQUEST   _req [protected, virtual]
 

Reimplemented in NML_SERVER_LOCAL_PORT.

Definition at line 219 of file cms_srv.cc.

Referenced by CMS_SERVER::set_diag_info().

00220 {
00221   return (NULL);
00222 }

REMOTE_GET_DIAG_INFO_REPLY * CMS_SERVER_LOCAL_PORT::get_diag_info REMOTE_GET_DIAG_INFO_REQUEST   _req [protected, virtual]
 

Reimplemented in NML_SERVER_LOCAL_PORT.

Definition at line 225 of file cms_srv.cc.

Referenced by CMS_SERVER::process_request().

00226 {
00227   get_diag_info_reply.cdi = cms->get_diagnostics_info ();
00228   get_diag_info_reply.status = cms->status;
00229   return (&get_diag_info_reply);
00230 }

REMOTE_GET_MSG_COUNT_REPLY * CMS_SERVER_LOCAL_PORT::get_msg_count REMOTE_GET_DIAG_INFO_REQUEST   _req [protected, virtual]
 

Reimplemented in NML_SERVER_LOCAL_PORT.

Definition at line 233 of file cms_srv.cc.

00234 {
00235   return (NULL);
00236 }

void CMS_SERVER_LOCAL_PORT::reset_diag_info   [protected, virtual]
 

Reimplemented in NML_SERVER_LOCAL_PORT.

Definition at line 239 of file cms_srv.cc.

Referenced by CMS_SERVER::reset_diag_info().

00240 {
00241 }


Friends And Related Function Documentation

friend class CMS_SERVER [friend]
 

Definition at line 59 of file cms_srv.hh.


Field Documentation

long CMS_SERVER_LOCAL_PORT::buffer_number [protected]
 

Definition at line 56 of file cms_srv.hh.

Referenced by CMS_SERVER::find_local_port().

int CMS_SERVER_LOCAL_PORT::list_id [protected]
 

Definition at line 57 of file cms_srv.hh.

Referenced by CMS_SERVER::add_local_port().

int CMS_SERVER_LOCAL_PORT::security_enabled [protected]
 

Definition at line 58 of file cms_srv.hh.

Referenced by CMS_SERVER::add_local_port(), and CMS_SERVER::security_check().

CMS_DIAG_PROC_INFO* CMS_SERVER_LOCAL_PORT::orig_info [protected]
 

Definition at line 60 of file cms_srv.hh.

REMOTE_READ_REPLY CMS_SERVER_LOCAL_PORT::read_reply [protected]
 

Definition at line 73 of file cms_srv.hh.

REMOTE_WRITE_REPLY CMS_SERVER_LOCAL_PORT::write_reply [protected]
 

Definition at line 74 of file cms_srv.hh.

REMOTE_GET_BUF_NAME_REPLY CMS_SERVER_LOCAL_PORT::namereply [protected]
 

Definition at line 75 of file cms_srv.hh.

Referenced by CMS_SERVER::process_request().

REMOTE_GET_DIAG_INFO_REPLY CMS_SERVER_LOCAL_PORT::get_diag_info_reply [protected]
 

Definition at line 76 of file cms_srv.hh.

int CMS_SERVER_LOCAL_PORT::local_channel_reused
 

Definition at line 82 of file cms_srv.hh.

Referenced by NML_SERVER::NML_SERVER(), and NML_SUPER_SERVER::add_to_list().


The documentation for this class was generated from the following files:
Generated on Sun Dec 2 15:58:22 2001 for rcslib by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001