@SuppressWarnings("unused")
 private void onDisconnect(int dr, String errorMessage) {
   DisconnectReason reason = DisconnectReason.fromInt(dr);
   listener.onDisconnect(reason, errorMessage);
 }
 @SuppressWarnings("unused")
 private void onMessage(int messageType, String message) {
   listener.onMessage(messageType, message);
 }
 @SuppressWarnings("unused")
 private void onConnect() {
   listener.onConnect();
 }