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

Method makeRosterOffline

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

Source from the content-addressed store, hash-verified

953 }
954
955 public void makeRosterOffline() {
956 AutoStatus.getInstance().stop();
957 synchronized (hContacts) {
958 int j = hContacts.size();
959 for (int i = 0; i < j; i++) {
960 ((Contact) hContacts.elementAt(i)).setStatus(Presence.PRESENCE_OFFLINE); // keep error & unknown
961 }
962 }
963 sort(hContacts);
964 reEnumRoster();
965 redraw();
966 }
967
968 public void sendDirectPresence(int status, String to, String nick, JabberDataBlock x) {
969 if (to == null) {

Callers 3

runMethod · 0.95
sendPresenceMethod · 0.95
connectionTerminatedMethod · 0.80

Calls 7

getInstanceMethod · 0.95
reEnumRosterMethod · 0.95
setStatusMethod · 0.80
sortMethod · 0.80
stopMethod · 0.45
sizeMethod · 0.45
redrawMethod · 0.45

Tested by

no test coverage detected