/[classpath]/inetlib/source/gnu/inet/http/event/ConnectionEvent.java
ViewVC logotype

Diff of /inetlib/source/gnu/inet/http/event/ConnectionEvent.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by dog, Thu Oct 21 15:21:55 2004 UTC revision 1.3 by dog, Thu Nov 25 22:15:05 2004 UTC
# Line 1  Line 1 
1  /*  /*
2   * $Id$   * ConnectionEvent.java
3   * Copyright (C) 2004 The Free Software Foundation   * Copyright (C) 2004 The Free Software Foundation
4   *   *
5   * This file is part of GNU inetlib, a library.   * This file is part of GNU inetlib, a library.
# Line 46  import java.util.EventObject; Line 46  import java.util.EventObject;
46   * @author <a href='mailto:dog@gnu.org'>Chris Burdess</a>   * @author <a href='mailto:dog@gnu.org'>Chris Burdess</a>
47   */   */
48  public class ConnectionEvent  public class ConnectionEvent
49  extends EventObject    extends EventObject
50  {  {
51    
52    /**    /**
# Line 62  extends EventObject Line 62  extends EventObject
62    /**    /**
63     * Constructs a connection event with the specified source and type.     * Constructs a connection event with the specified source and type.
64     */     */
65    public ConnectionEvent (Object source, int type)    public ConnectionEvent(Object source, int type)
66    {    {
67      super (source);      super(source);
68      this.type = type;      this.type = type;
69    }    }
70    
# Line 72  extends EventObject Line 72  extends EventObject
72     * Returns the type of this event.     * Returns the type of this event.
73     * @see #type     * @see #type
74     */     */
75    public int getType ()    public int getType()
76    {    {
77      return type;      return type;
78    }    }
79        
80  }  }
81    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26