LTP GCOV extension - code coverage report
Current view: directory - src/cpp/prod/CORBA - YAMProcServerOrb.cpp
Test: YAORB-0.2.info
Date: 2006-02-27 Instrumented lines: 20
Code covered: 0.0 % Executed lines: 0

       1                 : //=============================================================================
       2                 : // File <$/src/cpp/prod/CORBA/YAMProcServerOrb.cpp>
       3                 : // This file is part of YaOrb : Yet Another Object Request Broker,
       4                 : // Copyright (c) 2000-2003, Marc Alff.
       5                 : //
       6                 : // This program is free software; you can redistribute it and/or
       7                 : // modify it under the terms of the GNU General Public License
       8                 : // as published by the Free Software Foundation; either version 2
       9                 : // of the License, or (at your option) any later version.
      10                 : //
      11                 : // This program is distributed in the hope that it will be useful,
      12                 : // but WITHOUT ANY WARRANTY; without even the implied warranty of
      13                 : // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      14                 : // GNU General Public License for more details.
      15                 : //
      16                 : // You should have received a copy of the GNU General Public License
      17                 : // along with this program; if not, write to the Free Software
      18                 : // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
      19                 : //
      20                 : //=============================================================================
      21                 : 
      22                 : // Portability
      23                 : #include "yaorb/config.h"
      24                 : #include "src/cpp/prod/port/port_time.h"
      25                 : #include "src/cpp/prod/port/port_stdc.h"
      26                 : #include "src/cpp/prod/port/port_socket.h"
      27                 : #include "src/cpp/prod/port/port_unistd.h"
      28                 : 
      29                 : #include <sys/types.h>
      30                 : #include <sys/select.h>
      31                 : #include <rpc/types.h>
      32                 : #include <stdio.h>
      33                 : 
      34                 : #include <yaorb/CORBA.h>
      35                 : 
      36                 : #include "src/cpp/prod/CORBA/YAMProcServerOrb.h"
      37                 : #include "src/cpp/prod/boot/boot.h"
      38                 : #include "src/cpp/prod/tool/DEVELOPMENT.h"
      39                 : #include "src/cpp/prod/tool/Assert.h"
      40                 : #include "src/cpp/prod/protocol/iop/iop.h"
      41                 : #include "src/cpp/prod/protocol/cdr/cdr_memory.h"
      42                 : 
      43                 : // Max number of pending connect request on the _listning socket.
      44                 : const int NUMBER_OF_CONNECTIONS = 5 ;
      45                 : 
      46                 : //==============================================================================
      47                 : // YAMultiProcessORB : Server ORB, multi process.
      48                 : //==============================================================================
      49                 : 
      50               0 : YAMProcServerOrb::YAMProcServerOrb(const String & confFileName)
      51                 :  : YAServerOrb(confFileName),
      52               0 :    _maxProcess(100)
      53                 : {
      54                 :    CORBA::Boolean brc ;
      55               0 :    String maxProcStr ;
      56                 : 
      57               0 :    brc = readConf("SERVER", "MAXPROCESS", maxProcStr) ;
      58               0 :    if (brc == TRUE)
      59                 :    {
      60               0 :       _maxProcess = atoi(maxProcStr) ;
      61               0 :    }
      62               0 : }
      63                 : 
      64               0 : YAMProcServerOrb::~YAMProcServerOrb()
      65                 : {
      66               0 : }
      67                 : 
      68               0 : CORBA::Boolean YAMProcServerOrb::workPending(void)
      69                 : {
      70               0 :    NON_DEV("workPending") ;
      71                 :    return true ;
      72                 : }
      73                 : 
      74               0 : void YAMProcServerOrb::performWork(void)
      75                 : {
      76               0 :    NON_DEV("performWork") ;
      77                 : }
      78                 : 
      79               0 : void YAMProcServerOrb::shutdown(CORBA::Boolean waitForCompletion)
      80                 : {
      81               0 :    NON_DEV("shutdown") ;
      82                 : }
      83                 : 
      84               0 : void YAMProcServerOrb::run(void)
      85                 : {
      86               0 :    NON_DEV("run") ;
      87                 : }
      88                 : 
      89               0 : void YAMProcServerOrb::handleNewConnection(YAConnection *con)
      90                 : {
      91               0 :    NON_DEV("handleNewConnection") ;
      92                 : }
      93                 : 

Generated by: LTP GCOV extension version 1.4