~ubuntu-branches/ubuntu/jaunty/xorp/jaunty

« back to all changes in this revision

Viewing changes to fea/xrl_fea_io.hh

  • Committer: Bazaar Package Importer
  • Author(s): Jose Calhariz, Javier Fernandez-Sanguino, Jose Calhariz
  • Date: 2008-01-23 01:24:37 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080123012437-7l2u9r0k8e7op8st
Tags: 1.5~cvs.20080128-1
[ Javier Fernandez-Sanguino ]
* Update to latest CVS contents
* Modify debian/rules to prevent autobuilders from building 
  the binary-independent components: (Closes: #441121)
  - Create a new Build-Depends-Indep with all the TeX
  components used to build documentation
  - Since autobuilders call build, which in turns calls build-indep, hack
    the debian rules file so that the documentation is only built if ps2pdf,
    dvips and pslatex are available. 
* Modify the init.d script:
  - restart action: Do not attempt to stop xorp if not running
  - stop function: fix errors in the script
  - add a try-restart action
  - restructure the init.d script, move the restart code to a function
  - review the use of echo calls and exit values
* Use, as examples, the new boot files at rtrmgr/config/

[ Jose Calhariz ]
* Add depends on ncurses-dev, I don't know why xorp use tigetstr
  function from curses.  This way the depends field change less between
  build environments.
* Removed pushd and popd commands from Makefile and replaced with cd
  commands, was a bashism and FTBFS (closes: #453637)
* debian/control converted to utf-8 (closes: #454026) (closes: #453485)
* init.d/xorp now returns 0 if disabled.
* Added Vcs-Browser and Vcs-Svn fields pointing to the repository of the
  package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
// -*- c-basic-offset: 4; tab-width: 8; indent-tabs-mode: t -*-
2
2
 
3
 
// Copyright (c) 2007 International Computer Science Institute
 
3
// Copyright (c) 2007-2008 International Computer Science Institute
4
4
//
5
5
// Permission is hereby granted, free of charge, to any person obtaining a
6
6
// copy of this software and associated documentation files (the "Software")
12
12
// notice is a summary of the XORP LICENSE file; the license in that file is
13
13
// legally binding.
14
14
 
15
 
// $XORP: xorp/fea/xrl_fea_io.hh,v 1.2 2007/08/15 18:55:16 pavlin Exp $
 
15
// $XORP: xorp/fea/xrl_fea_io.hh,v 1.5 2008/01/04 03:15:51 pavlin Exp $
16
16
 
17
17
 
18
18
#ifndef __FEA_XRL_FEA_IO_HH__
32
32
/**
33
33
 * @short FEA (Forwarding Engine Abstraction) XRL-based I/O class.
34
34
 */
35
 
class XrlFeaIO : public FeaIO {
 
35
class XrlFeaIo : public FeaIo {
36
36
public:
37
37
    /**
38
38
     * Constructor.
40
40
     * @param eventloop the event loop to use.
41
41
     * @param xrl_router the XRL transmission and reception point.
42
42
     * @param xrl_finder_targetname the XRL targetname of the Finder.
43
 
     * @param xrl_fea_node the XRL FEA node instance to use (@ref XrlFeaNode).
44
43
     */
45
 
    XrlFeaIO(EventLoop& eventloop, XrlRouter& xrl_router,
46
 
             const string& xrl_finder_targetname, XrlFeaNode& xrl_fea_node);
 
44
    XrlFeaIo(EventLoop& eventloop, XrlRouter& xrl_router,
 
45
             const string& xrl_finder_targetname);
47
46
 
48
47
    /**
49
48
     * Destructor
50
49
     */
51
 
    virtual     ~XrlFeaIO();
 
50
    virtual     ~XrlFeaIo();
52
51
 
53
52
    /**
54
53
     * Startup the service operation.
72
71
    bool        is_running() const;
73
72
 
74
73
    /**
75
 
     * Get the FEA node instance.
76
 
     *
77
 
     * @return a reference to the FEA node instance (@ref FeaNode).
78
 
     */
79
 
    FeaNode& fea_node();
80
 
 
81
 
    /**
82
74
     * Register interest in events relating to a particular instance.
83
75
     *
84
76
     * @param instance_name name of target instance to receive event
108
100
 
109
101
    XrlRouter&          _xrl_router;    // The standard XRL send/recv point
110
102
    const string        _xrl_finder_targetname; // The Finder target name
111
 
 
112
 
    XrlFeaNode&         _xrl_fea_node;  // The XRL FEA node instance
113
103
};
114
104
 
115
105
#endif // __FEA_XRL_FEA_IO_HH__