KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > quikj > application > web > talk > feature > messagebox > server > CallInfo


1 /*
2  * CallInfo.java
3  *
4  * Created on November 30, 2002, 5:52 PM
5  */

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

15 public class CallInfo
16 {
17     
18     /** Creates a new instance of CallInfo */
19     public CallInfo()
20     {
21     }
22     
23     public CallInfo(long session_id, EndPointInterface party, String JavaDoc mailbox_user)
24     {
25         sessionId = session_id;
26         endpoint = party;
27         mailboxUser = mailbox_user;
28     }
29     
30     /** Getter for property connected.
31      * @return Value of property connected.
32      *
33      */

34     public boolean isConnected()
35     {
36         return connected;
37     }
38     
39     /** Setter for property connected.
40      * @param connected New value of property connected.
41      *
42      */

43     public void setConnected(boolean connected)
44     {
45         this.connected = connected;
46     }
47     
48     /** Getter for property endpoint.
49      * @return Value of property endpoint.
50      *
51      */

52     public com.quikj.server.web.EndPointInterface getEndpoint()
53     {
54         return endpoint;
55     }
56     
57     /** Setter for property endpoint.
58      * @param endpoint New value of property endpoint.
59      *
60      */

61     public void setEndpoint(com.quikj.server.web.EndPointInterface endpoint)
62     {
63         this.endpoint = endpoint;
64     }
65     
66     /** Getter for property mailboxAddress.
67      * @return Value of property mailboxAddress.
68      *
69      */

70     public java.lang.String JavaDoc getMailboxAddress()
71     {
72         return mailboxAddress;
73     }
74     
75     /** Setter for property mailboxAddress.
76      * @param mailboxAddress New value of property mailboxAddress.
77      *
78      */

79     public void setMailboxAddress(java.lang.String JavaDoc mailboxAddress)
80     {
81         this.mailboxAddress = mailboxAddress;
82     }
83     
84     /** Getter for property sessionId.
85      * @return Value of property sessionId.
86      *
87      */

88     public long getSessionId()
89     {
90         return sessionId;
91     }
92     
93     /** Setter for property sessionId.
94      * @param sessionId New value of property sessionId.
95      *
96      */

97     public void setSessionId(long sessionId)
98     {
99         this.sessionId = sessionId;
100     }
101     
102     /** Getter for property mailboxUser.
103      * @return Value of property mailboxUser.
104      *
105      */

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

115     public void setMailboxUser(java.lang.String JavaDoc mailboxUser)
116     {
117         this.mailboxUser = mailboxUser;
118     }
119     
120     /** Getter for property encryptedKey.
121      * @return Value of property encryptedKey.
122      *
123      */

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

133     public void setEncryptedKey(java.lang.String JavaDoc encryptedKey)
134     {
135         this.encryptedKey = encryptedKey;
136     }
137     
138     /** Getter for property fromAddress.
139      * @return Value of property fromAddress.
140      *
141      */

142     public java.lang.String JavaDoc getFromAddress()
143     {
144         return fromAddress;
145     }
146     
147     /** Setter for property fromAddress.
148      * @param fromAddress New value of property fromAddress.
149      *
150      */

151     public void setFromAddress(java.lang.String JavaDoc fromAddress)
152     {
153         this.fromAddress = fromAddress;
154     }
155     
156     private long sessionId = -1;
157     private EndPointInterface endpoint = null;
158     private String JavaDoc mailboxAddress = null;
159     private String JavaDoc fromAddress = null;
160     private String JavaDoc mailboxUser = null;
161     private boolean connected = false;
162     private String JavaDoc encryptedKey = null;
163     
164 }
165
Popular Tags