KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > quikj > application > web > talk > feature > operator > SubscriberElement


1 /*
2  * SubscriberElement.java
3  *
4  * Created on May 18, 2002, 7:18 AM
5  */

6
7 package com.quikj.application.web.talk.feature.operator;
8
9 import com.quikj.server.web.*;
10
11 /**
12  *
13  * @author amit
14  */

15 public class SubscriberElement
16 {
17     private long sessionId = -1;
18     
19     private EndPointInterface endpoint = null;
20     
21     private int requestId = -1;
22     
23     /** Holds value of property startWaitTime. */
24     private long startWaitTime;
25     
26     /** Creates a new instance of SubscriberElement */
27     public SubscriberElement()
28     {
29     }
30     
31     /** Getter for property endpoint.
32      * @return Value of property endpoint.
33      */

34     public EndPointInterface getEndpoint()
35     {
36         return endpoint;
37     }
38     
39     /** Setter for property endpoint.
40      * @param endpoint New value of property endpoint.
41      */

42     public void setEndpoint(EndPointInterface endpoint)
43     {
44         this.endpoint = endpoint;
45     }
46     
47     /** Getter for property sessionId.
48      * @return Value of property sessionId.
49      */

50     public long getSessionId()
51     {
52         return sessionId;
53     }
54     
55     /** Setter for property sessionId.
56      * @param sessionId New value of property sessionId.
57      */

58     public void setSessionId(long sessionId)
59     {
60         this.sessionId = sessionId;
61     }
62     
63     /** Getter for property requestId.
64      * @return Value of property requestId.
65      *
66      */

67     public int getRequestId()
68     {
69         return requestId;
70     }
71     
72     /** Setter for property requestId.
73      * @param requestId New value of property requestId.
74      *
75      */

76     public void setRequestId(int requestId)
77     {
78         this.requestId = requestId;
79     }
80     
81     /** Getter for property startWaitTime.
82      * @return Value of property startWaitTime.
83      *
84      */

85     public long getStartWaitTime()
86     {
87         return this.startWaitTime;
88     }
89     
90     /** Setter for property startWaitTime.
91      * @param startWaitTime New value of property startWaitTime.
92      *
93      */

94     public void setStartWaitTime(long startWaitTime)
95     {
96         this.startWaitTime = startWaitTime;
97     }
98     
99 }
100
Popular Tags