MCPcopy Index your code
hub / github.com/BombusMod/BombusMod / run

Method run

src/main/java/Client/Roster.java:256–275  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

254
255 // establishing connection process
256 public void run() {
257 setQuerySign(true);
258 if (!doReconnect) {
259 setProgress(25);
260 resetRoster();
261 } else {
262 makeRosterOffline();
263 }
264 try {
265 Account a = sd.account;
266 setProgress(SR.MS_CONNECT_TO_ + a.JID.getServer(), 30);
267
268 sd.getService().startConnection();
269 setProgress(SR.MS_OPENING_STREAM, 40);
270 sd.getTheStream().listener = new JabberDispatcher();
271 sd.getTheStream().initiateStream();
272 } catch (Exception e) {
273 askReconnect(e);
274 }
275 }
276
277 public void resetRoster() {
278 synchronized (hContacts) {

Callers

nothing calls this directly

Calls 10

setQuerySignMethod · 0.95
setProgressMethod · 0.95
resetRosterMethod · 0.95
makeRosterOfflineMethod · 0.95
askReconnectMethod · 0.95
getServerMethod · 0.80
getTheStreamMethod · 0.80
initiateStreamMethod · 0.80
startConnectionMethod · 0.65
getServiceMethod · 0.45

Tested by

no test coverage detected