|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.pingtel.xpressa.Application | +--edu.columbia.coms6901.pingtel.pingim.PingIM
PingIM -- Instant Messaging on PingTel Phones. This class contains the "main()" program code.
Field Summary | |
private static boolean |
bFirstGoodbye
should we print the good-bye message the first time the user exits? |
private static BuddyList |
buddyList
the buddy list |
private ExpirationThread |
expirationThread
updates expiration times and subscriptions |
private static int |
iBuddyState
the state of this instance (e.g., away, etc.) |
private static LDAPHandler |
ldapHandler
handles LDAP communication |
private static MenuSystem |
menuSystem
handles human interfacing |
private MESSAGEListener |
objMsgListener
listens for incoming MESSAGE messages |
private NOTIFYListener |
objNotifyListener
listens for incoming NOTIFY messages |
private SUBSCRIBEListener |
objSubscribeListener
listens for incoming SUBSCRIBE messages |
private static SubscribersList |
subscribers
list of subscribers |
Fields inherited from class com.pingtel.xpressa.Application |
m_context, m_iAppCreationCnt |
Constructor Summary | |
PingIM()
|
Method Summary | |
private void |
exitPingIM()
Exits the program. |
static int |
getBuddyState()
Retrieves current state of buddy (e.g., away, busy, etc.) |
protected static SubscribersList |
getSubscribersList()
Retrieves the subscriber's list |
void |
main(java.lang.String[] argv)
Main method of PingIM Pingtel Expression. |
static void |
onLoad()
Called when PingIM is loaded |
static void |
onUnload()
Called when Pingtel Expression is destroyed. |
static void |
setBuddyState(int iState)
Sets current state of buddy (e.g., away, busy, etc.) |
private void |
startListeners()
Starts SIP message listeners |
private void |
stopListeners()
Stops SIP message listeners |
Methods inherited from class com.pingtel.xpressa.Application |
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
Field Detail |
private static LDAPHandler ldapHandler
private static MenuSystem menuSystem
private static SubscribersList subscribers
private static int iBuddyState
private static BuddyList buddyList
private MESSAGEListener objMsgListener
private SUBSCRIBEListener objSubscribeListener
private NOTIFYListener objNotifyListener
private ExpirationThread expirationThread
private static boolean bFirstGoodbye
Constructor Detail |
public PingIM()
Method Detail |
public static void onLoad()
public void main(java.lang.String[] argv)
main
in class com.pingtel.xpressa.Application
argv
- List of argumentspublic static void onUnload()
public static void setBuddyState(int iState)
iState
- new state of buddypublic static int getBuddyState()
protected static SubscribersList getSubscribersList()
private void startListeners()
private void stopListeners()
private void exitPingIM()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |