KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > quikj > application > web > talk > client > CallInfo


1 package com.quikj.application.web.talk.client;
2
3 import java.util.*;
4
5 public class CallInfo
6 {
7     public CallInfo()
8     {
9     }
10     
11     public long getSessionId()
12     {
13         return sessionId;
14     }
15     
16     public void setSessionId(long session)
17     {
18         sessionId = session;
19     }
20     
21     public boolean isCallingParty()
22     {
23         return callingParty;
24     }
25     
26     public void setCallingParty(boolean calling)
27     {
28         callingParty = calling;
29     }
30     
31     public Vector getOtherParties()
32     {
33         return otherParties;
34     }
35     
36     public void setOtherParties(Vector party)
37     {
38         otherParties = party;
39     }
40     
41     public int getSetupRequestId()
42     {
43         return setupRequestId;
44     }
45     
46     public void setSetupRequestId(int id)
47     {
48         setupRequestId = id;
49     }
50     
51     public boolean isConnected()
52     {
53         return connected;
54     }
55     
56     public void setConnected(boolean connected)
57     {
58         this.connected = connected;
59     }
60         
61     public Thread JavaDoc getTimerThread()
62     {
63         return thread;
64     }
65     
66     public void setTimerThread(Thread JavaDoc thread)
67     {
68         this.thread = thread;
69     }
70     
71     /** Getter for property encryptedKey.
72      * @return Value of property encryptedKey.
73      */

74     public java.lang.String JavaDoc getEncryptedKey()
75     {
76         return encryptedKey;
77     }
78     
79     /** Setter for property encryptedKey.
80      * @param encryptedKey New value of property encryptedKey.
81      */

82     public void setEncryptedKey(java.lang.String JavaDoc encryptedKey)
83     {
84         this.encryptedKey = encryptedKey;
85     }
86     
87     /** Getter for property lastMessageReceivedTime.
88      * @return Value of property lastMessageReceivedTime.
89      */

90     public java.util.Date JavaDoc getLastMessageReceivedTime()
91     {
92         return lastMessageReceivedTime;
93     }
94     
95     /** Setter for property lastMessageReceivedTime.
96      * @param lastMessageReceivedTime New value of property lastMessageReceivedTime.
97      */

98     public void setLastMessageReceivedTime(java.util.Date JavaDoc lastMessageReceivedTime)
99     {
100         this.lastMessageReceivedTime = lastMessageReceivedTime;
101     }
102     
103     /** Getter for property lastMessageTimerThread.
104      * @return Value of property lastMessageTimerThread.
105      */

106     public java.lang.Thread JavaDoc getLastMessageTimerThread()
107     {
108         return lastMessageTimerThread;
109     }
110     
111     /** Setter for property lastMessageTimerThread.
112      * @param lastMessageTimerThread New value of property lastMessageTimerThread.
113      */

114     public void setLastMessageTimerThread(java.lang.Thread JavaDoc lastMessageTimerThread)
115     {
116         this.lastMessageTimerThread = lastMessageTimerThread;
117     }
118     
119     /** Getter for property receivedKey.
120      * @return Value of property receivedKey.
121      *
122      */

123     public java.lang.String JavaDoc getReceivedKey()
124     {
125         return receivedKey;
126     }
127     
128     /** Setter for property receivedKey.
129      * @param receivedKey New value of property receivedKey.
130      *
131      */

132     public void setReceivedKey(java.lang.String JavaDoc receivedKey)
133     {
134         this.receivedKey = receivedKey;
135     }
136     
137     private long sessionId = -1L;
138     private boolean callingParty = false;
139     private Vector otherParties = new Vector();
140     private int setupRequestId = -1;
141     private boolean connected = false;
142     private Thread JavaDoc thread;
143     private String JavaDoc encryptedKey = null;
144     private Date lastMessageReceivedTime = null;
145     private Thread JavaDoc lastMessageTimerThread = null;
146     private String JavaDoc receivedKey = null;
147 }
148
149
150
151
152
153
154
155
156
157
158
159
Popular Tags