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

Method logoff

src/main/java/Client/Roster.java:1822–1836  ·  view source on GitHub ↗
(String mess)

Source from the content-addressed store, hash-verified

1820 }
1821
1822 public void logoff(String mess) {
1823 if (isLoggedIn()) {
1824 try {
1825 if (mess == null) {
1826 mess = sl.getStatus(Presence.PRESENCE_OFFLINE).getMessage();
1827 }
1828 sendPresence(Presence.PRESENCE_OFFLINE, mess);
1829 sd.getTheStream().loggedIn = false;
1830 } catch (Exception e) {
1831 }
1832 }
1833//#ifdef STATS
1834 Stats.getInstance().saveToStorage(false);
1835//#endif
1836 }
1837
1838 public void quit() {
1839 AutoStatus.getInstance().stop();

Callers 3

loadAccountMethod · 0.95
doReconnectMethod · 0.95
quitMethod · 0.95

Calls 7

isLoggedInMethod · 0.95
sendPresenceMethod · 0.95
getInstanceMethod · 0.95
getTheStreamMethod · 0.80
getMessageMethod · 0.45
getStatusMethod · 0.45
saveToStorageMethod · 0.45

Tested by

no test coverage detected