Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/voytechs/jnetanalyzer/tcp/TCPEvent.java


1   /*
2    * File: TCPEvent.java
3    * Auth: Mark Bednarczyk
4    * Date: DATE
5    *   Id: $Id: TCPEvent.java,v 1.1.1.1 2003/09/22 16:32:06 voytechs Exp $
6    ********************************************
7    Copyright (C) 2003  Mark Bednarczyk
8   
9    This program is free software; you can redistribute it and/or
10   modify it under the terms of the GNU General Public License
11   as published by the Free Software Foundation; either version 2
12   of the License, or (at your option) any later version.
13  
14   This program is distributed in the hope that it will be useful,
15   but WITHOUT ANY WARRANTY; without even the implied warranty of
16   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17   GNU General Public License for more details.
18  
19   You should have received a copy of the GNU General Public License
20   along with this program; if not, write to the Free Software
21   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
22   ********************************************
23   * $Log: TCPEvent.java,v $
24   * Revision 1.1.1.1  2003/09/22 16:32:06  voytechs
25   * Initial import.
26   *
27   */
28  package com.voytechs.jnetanalyzer.tcp;
29  
30  import com.voytechs.jnetanalyzer.message.*;
31  
32  import java.lang.*;
33  import java.util.*;
34  
35  /**
36   * 
37   */
38  public class TCPEvent 
39    extends MessageEvent {
40    /* Internal attributes */
41    private static final boolean debug = false;
42  
43    /* List of events.  */
44  
45    public static final String EVENT_NULL                   = "null";
46    public static final String EVENT_OUT_OF_ORDER_SEGMENT   = "segmentOutOfOrder";
47    public static final String EVENT_DUPLICATE_SEGMENT       = "segmentDuplicate";
48    public static final String EVENT_SEGMENT_ACK_TIMEOUT     = "segmentAckTimeout";
49    public static final String EVENT_OUT_OF_ORDER_ACK       = "segmentAckOutOfOrder";
50    public static final String EVENT_ACKNOWLEDGMENT         = "segmentAck";
51  
52    /**
53     *
54     * @param
55     * @exception
56     */
57    public TCPEvent(int eventPriority, String eventType) {
58      super(eventPriority, eventType);
59    }
60  
61    /**
62     *
63     * @param
64     * @exception
65     */
66    public TCPEvent(int eventPriority, String eventType, String msg) {
67      super(eventPriority, eventType, msg);
68    }
69  
70  
71  
72    /**
73     * Test function for TCPEvent
74     * @param args command line arguments
75     */
76    public static void main(String [] args) {
77    }
78  
79  } /* END OF: TCPEvent */