ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/uk/org/iscream/cms/server/filter/FilterInfoServant.java
(Generate patch)

Comparing projects/cms/source/server/uk/org/iscream/cms/server/filter/FilterInfoServant.java (file contents):
Revision 1.4 by tdb, Wed Feb 5 16:43:47 2003 UTC vs.
Revision 1.5 by tdb, Mon Feb 24 20:18:49 2003 UTC

# Line 50 | Line 50 | class FilterInfoServant extends FilterInfoPOA {
50      /**
51       * Creates a new FilterServant.
52       *
53     * @param TCPListenPort the TCP port this filter is listening on
53       * @param UDPListenPort the UDP port this filter is listening on
54       */
55 <    public FilterInfoServant(int TCPListenPort, int UDPListenPort) {
57 <        _TCPListenPort = TCPListenPort;
55 >    public FilterInfoServant(int UDPListenPort) {
56          _UDPListenPort = UDPListenPort;
57          _logger.write(toString(), Logger.SYSINIT, "started");
58      }
# Line 91 | Line 89 | class FilterInfoServant extends FilterInfoPOA {
89      /**
90       * Provides information to the FilterManager
91       */
94    public String getTCPPort() {
95        return new Integer(_TCPListenPort).toString();
96    }
97    
98    /**
99     * Provides information to the FilterManager
100     */
92      public String getHostName() {
93          try {
94              // hacky fix for windows boxes, where getHostName() returns the NetBIOS name !
# Line 131 | Line 122 | class FilterInfoServant extends FilterInfoPOA {
122       * The UDP port we're listening on
123       */
124      private int _UDPListenPort;
134    
135    /**
136     * The TCP port we're listening on
137     */
138    private int _TCPListenPort;
125      
126   //---STATIC ATTRIBUTES---
127  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines