|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.skype.tutorial.step11.Tutorial_11
public class Tutorial_11
Getting Started With SkypeKit: Tutorial Application, Step 11. This example illustrates a simple SkypeKit-based program that:
| Field Summary | |
|---|---|
static int |
ACCOUNT_NAME_IDX
Index of the account name in the command line argument list. |
static int |
ACCOUNT_PWORD_IDX
Index of the account password in the command line argument list. |
(package private) static java.lang.String |
appName
The name used to create/identify our chat. |
static int |
APPTOKEN_FILE_IDX
Index of the optional AppToken text file pathname in the command line argument list, which is always last. |
static int |
CONTACT_NAME_IDX
Index of the Contact name in the command line argument list. |
static java.lang.String |
MY_CLASS_TAG
Info/Debug console output message prefix/identifier tag. |
private static AppToken |
myAppToken
|
private static java.lang.String |
myContactName
Target Contact name. |
private static MySession |
mySession
|
private static Tutorial_11 |
myTutorial
"Extraneous" instance of this tutorial so we can invoke our business logic method from main(String[]) without having to declare it as being "static". |
static int |
OPT_ARG_CNT
Number of optional arguments in the command line argument list. |
(package private) static int |
QUIT_CMD_CHAR
Command "string" denoting exit from app2app chat. |
static int |
REQ_ARG_CNT
Number of required arguments in the command line argument list. |
(package private) static int |
TXT_CHUNK_SZ
Maximum number of characters to accumulate before sending them off to whoever we're chatting with. |
| Constructor Summary | |
|---|---|
Tutorial_11()
|
|
| Method Summary | |
|---|---|
(package private) void |
doApp2AppDatagram(MySession mySession,
java.lang.String myContactName)
Make a datagram-based command-line chat between two instances of the same SkypeKit client. |
static void |
main(java.lang.String[] args)
Main loop - App2App Datagram |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static final java.lang.String appName
static final int TXT_CHUNK_SZ
static final int QUIT_CMD_CHAR
public static final java.lang.String MY_CLASS_TAG
public static final int ACCOUNT_NAME_IDX
public static final int ACCOUNT_PWORD_IDX
public static final int CONTACT_NAME_IDX
public static final int REQ_ARG_CNT
public static final int OPT_ARG_CNT
public static final int APPTOKEN_FILE_IDX
private static java.lang.String myContactName
private static AppToken myAppToken
private static MySession mySession
private static Tutorial_11 myTutorial
main(String[]) without having to declare it as being "static".
| Constructor Detail |
|---|
public Tutorial_11()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
args -
void doApp2AppDatagram(MySession mySession,
java.lang.String myContactName)
mySession - Populated session objectmyContactName - Skype Name of person to connect with.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||