MCPcopy Create free account
hub / github.com/BombusMod/BombusMod / run

Method run

src/main/java/Account/AccountRegister.java:115–132  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

113 }
114
115 public void run() {
116 VirtualCanvas.getInstance().show(splash);
117 try {
118 splash.setProgress(SR.MS_CONNECT_TO_ + raccount.JID.getServer(), 30);
119 //give a chance another thread to finish ui
120 Thread.sleep(500);
121 sd.account = raccount;
122 sd.getService().startConnection();
123
124 sd.getTheStream().listener = this;
125 sd.getTheStream().initiateStream();
126 } catch (Exception e) {
127 if (StaticData.Debug) {
128 e.printStackTrace();
129 }
130 splash.setFailed();
131 }
132 }
133
134 public void connectionTerminated(Exception e) {
135 }

Callers

nothing calls this directly

Calls 9

getInstanceMethod · 0.95
getServerMethod · 0.80
getTheStreamMethod · 0.80
initiateStreamMethod · 0.80
setFailedMethod · 0.80
startConnectionMethod · 0.65
showMethod · 0.45
setProgressMethod · 0.45
getServiceMethod · 0.45

Tested by

no test coverage detected