MCPcopy Create free account
hub / github.com/annmuor/jnode / run

Method run

jnode-xmpp-module/src/org/jnode/xmpp/XMPPClient.java:87–99  ·  view source on GitHub ↗

Запуск

()

Source from the content-addressed store, hash-verified

85 * Запуск
86 */
87 void run() {
88 connection = new XMPPConnection(server);
89 try {
90 connection.connect();
91 connection.login(uid, pwd);
92 connection.getRoster().setSubscriptionMode(
93 SubscriptionMode.accept_all);
94 connection.getChatManager().addChatListener(
95 new JNodeChatManagerListener());
96 } catch (XMPPException e) {
97 onError(e);
98 }
99 }
100
101 private void onError(Exception e) {
102 synchronized (this) {

Callers 1

startMethod · 0.45

Calls 1

onErrorMethod · 0.95

Tested by

no test coverage detected